diff --git a/build.mjs b/build.mjs index 3353606..3071683 100644 --- a/build.mjs +++ b/build.mjs @@ -125,6 +125,9 @@ function buildStyles() { const result = sass.compile(`./sass/${file}`, { style: "compressed", }); - fs.writeFileSync("./build/styles/styles.css", result.css); + fs.writeFileSync( + `./build/styles/${file.substring(0, file.length - 5)}.css`, + result.css + ); }); }