fixed issue where even dev mode would call the minifier for js

This commit is contained in:
Julian Lam
2014-02-25 17:00:26 -05:00
parent 656131be39
commit 309dcaee06

View File

@@ -266,9 +266,13 @@ var fs = require('fs'),
Meta.js.scripts = jsPaths.filter(function(path) { return path !== null });
if (process.env.NODE_ENV !== 'development') {
callback(null, [
Meta.js.minFile
]);
} else {
callback(null, scripts);
}
});
},
minify: function (callback) {