diff --git a/purgecss.js b/purgecss.js index 260e952ed..d09c8b3e6 100644 --- a/purgecss.js +++ b/purgecss.js @@ -20,8 +20,7 @@ function main() { .then(() => fs.mkdir(DIST_PATH)) .then(() => new PurgeCSS().purge(config)) .then((result) => { - const dist = config.output.replace('.css', '.scss'); - return fs.writeFile(dist, result[0].css); + return fs.writeFile(`${DIST_PATH}/bootstrap.scss`, result[0].css); }) .catch((err) => { console.error('Error during PurgeCSS process:', err);