Add error-messages for node-sass

This commit is contained in:
Manuel Thalmann 2019-11-22 13:14:49 +00:00
parent 7d99223936
commit 0b91e83df4

View file

@ -343,6 +343,13 @@ export async function Theme()
{
importer: require("node-sass-tilde-importer"),
outputStyle: settings.Debug ? "expanded" : "compressed"
}
).on("error",
(error) =>
{
log.error(
`${error.relativePath}:${error.line}:${error.column}\n` +
`${error.messageFormatted}`);
})
).pipe(
rename(