1
0
mirror of https://github.com/locomotivemtl/locomotive-boilerplate.git synced 2026-01-15 00:55:08 +08:00

Update build/styles.js

Co-authored-by: Chauncey McAskill <chauncey@locomotive.ca>
This commit is contained in:
Quentin Hocdé
2021-03-05 09:27:47 -05:00
committed by GitHub
parent 3cf62e80f7
commit e687e52cd2

View File

@@ -48,9 +48,9 @@ export function compileStyles() {
message('Critical style built', 'success', 'Critical style built in');
}
if(!error){
if (!error){
// No errors during the compilation, write this result on the disk
fs.writeFile(paths.styles.dest + paths.styles.critical + '.css', result.css, (err) => {});
}
}
});
}