mirror of
https://github.com/opensupports/opensupports.git
synced 2025-07-28 00:04:31 +02:00
Merge branch 'master' of https://github.com/ivandiazwm/opensupports
This commit is contained in:
commit
c2454ba1c3
@ -4,11 +4,12 @@ var gulp = require('gulp');
|
|||||||
var runSequence = require('run-sequence');
|
var runSequence = require('run-sequence');
|
||||||
|
|
||||||
gulp.task('prod', ['clean'], function(callback) {
|
gulp.task('prod', ['clean'], function(callback) {
|
||||||
|
process.env.NODE_ENV = 'production';
|
||||||
|
|
||||||
callback = callback || function() {};
|
callback = callback || function() {};
|
||||||
|
|
||||||
global.isProd = true;
|
global.isProd = true;
|
||||||
|
|
||||||
runSequence(['sass', 'imagemin', 'browserify', 'copyFonts', 'copyIndex', 'copyIcons'], callback);
|
runSequence(['sass', 'imagemin', 'browserify', 'copyFonts', 'copyIndex', 'copyIcons'], callback);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user