enable less sourcemaps, add cleanup for npm cmds run with --prefix

This commit is contained in:
Leigh Johnson
2016-08-19 13:12:31 -04:00
parent 8893f8278a
commit 25fa05da81
4 changed files with 11 additions and 4 deletions

View File

@@ -1,4 +1,6 @@
module.exports = {
options: { force: true },
static: 'static/*',
coverage: 'coverage/*'
coverage: 'coverage/*',
tmp: '../../tmp'
};

View File

@@ -11,7 +11,10 @@ module.exports = {
'client/legacy-styles/*.less',
'client/src/**/*.less',
]
}]
}],
options: {
sourceMap: true
}
},
prod: {
@@ -23,7 +26,6 @@ module.exports = {
},
options: {
compress: true,
}
}
};