fix: styles exporting
This commit is contained in:
parent
c6496ab7a3
commit
32da995777
|
@ -125,6 +125,9 @@ function buildStyles() {
|
||||||
const result = sass.compile(`./sass/${file}`, {
|
const result = sass.compile(`./sass/${file}`, {
|
||||||
style: "compressed",
|
style: "compressed",
|
||||||
});
|
});
|
||||||
fs.writeFileSync("./build/styles/styles.css", result.css);
|
fs.writeFileSync(
|
||||||
|
`./build/styles/${file.substring(0, file.length - 5)}.css`,
|
||||||
|
result.css
|
||||||
|
);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue