Refactor the sass build process

This commit is contained in:
Manuel Thalmann 2019-10-07 18:53:26 +00:00
parent a027ba64a2
commit 683e09f236

View file

@ -296,7 +296,11 @@ export async function Theme()
sourcemaps: settings.Debug,
base: settings.StylePath()
}).pipe(
sass({ importer: require("node-sass-tilde-importer") })
sass(
{
importer: require("node-sass-tilde-importer"),
outputStyle: settings.Debug ? "expanded" : "compressed"
})
).pipe(
rename(
(parsedPath) =>