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:
@@ -42,8 +42,7 @@ export function compileStyles() {
|
||||
outputStyle: 'compressed',
|
||||
sourceMap: true
|
||||
}, (error, result) => {
|
||||
|
||||
if(error) {
|
||||
if (error) {
|
||||
message('Error compiling critical.scss', 'error');
|
||||
console.log(error);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user