mirror of
https://github.com/nasa/openmct.git
synced 2024-12-21 06:03:08 +00:00
[Build] Skip optimize in dev environment
Skip optimize in dev environment to speed up project rebuilds. Very helpful when integration testing openmct.js build artifact.
This commit is contained in:
parent
46c7399867
commit
970acbd56e
@ -69,6 +69,11 @@ var gulp = require('gulp'),
|
||||
}
|
||||
};
|
||||
|
||||
if (process.env.NODE_ENV === 'development') {
|
||||
options.requirejsOptimize.optimize = 'none';
|
||||
}
|
||||
|
||||
|
||||
gulp.task('scripts', function () {
|
||||
var requirejsOptimize = require('gulp-requirejs-optimize');
|
||||
var replace = require('gulp-replace-task');
|
||||
|
Loading…
Reference in New Issue
Block a user