diff --git a/client/gulp/tasks/production.js b/client/gulp/tasks/production.js index 1c72c847..a2de9a81 100644 --- a/client/gulp/tasks/production.js +++ b/client/gulp/tasks/production.js @@ -4,11 +4,12 @@ var gulp = require('gulp'); var runSequence = require('run-sequence'); gulp.task('prod', ['clean'], function(callback) { - + process.env.NODE_ENV = 'production'; + callback = callback || function() {}; global.isProd = true; runSequence(['sass', 'imagemin', 'browserify', 'copyFonts', 'copyIndex', 'copyIcons'], callback); -}); \ No newline at end of file +});