-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
Is there a way to either discard parse errors or send them to a file with, say, a -e option (similarly to the -o option)?
My use case is that I'm using sass-export in "prebuild" and "preserve" NPM scripts in my package.json:
"scripts": {
...
"preserve": "sass-export ./src/styles/variables.scss -o ./src/styles/sassvariables.json",
"serve": "vue-cli-service serve",
"prebuild": "sass-export ./src/styles/variables.scss -o ./public/assets/sassvariables.json",
"build": "vue-cli-service build",
...
}
sass-export generates a perfectly find sassvariables.json file for me, but also spits out many parsing errors to the console. While I can safely ignore these messages for my purposes, I don't know of a way to suppress them from the console to clean up the build and serve steps.
quasipickle and simeonoff
Metadata
Metadata
Assignees
Labels
No labels