Add error-messages for node-sass
This commit is contained in:
parent
7d99223936
commit
0b91e83df4
1 changed files with 7 additions and 0 deletions
|
@ -343,6 +343,13 @@ export async function Theme()
|
||||||
{
|
{
|
||||||
importer: require("node-sass-tilde-importer"),
|
importer: require("node-sass-tilde-importer"),
|
||||||
outputStyle: settings.Debug ? "expanded" : "compressed"
|
outputStyle: settings.Debug ? "expanded" : "compressed"
|
||||||
|
}
|
||||||
|
).on("error",
|
||||||
|
(error) =>
|
||||||
|
{
|
||||||
|
log.error(
|
||||||
|
`${error.relativePath}:${error.line}:${error.column}\n` +
|
||||||
|
`${error.messageFormatted}`);
|
||||||
})
|
})
|
||||||
).pipe(
|
).pipe(
|
||||||
rename(
|
rename(
|
||||||
|
|
Loading…
Reference in a new issue