mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-29 10:06:13 +01:00
feat: improve grunt restart/rebuild speed
This commit is contained in:
@@ -201,7 +201,7 @@ CSS.buildBundle = function (target, fork, callback) {
|
||||
getBundleMetadata(target, next);
|
||||
},
|
||||
function (data, next) {
|
||||
var minify = global.env !== 'development';
|
||||
var minify = process.env.NODE_ENV !== 'development';
|
||||
minifier.css.bundle(data.imports, data.paths, minify, fork, next);
|
||||
},
|
||||
function (bundle, next) {
|
||||
|
||||
Reference in New Issue
Block a user