Refactor the sass build process
This commit is contained in:
parent
a027ba64a2
commit
683e09f236
1 changed files with 5 additions and 1 deletions
|
@ -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) =>
|
||||
|
|
Loading…
Reference in a new issue