You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It was my error, my gulp tasks didn't run in order so the bootstrap.js got overwritten and garbled. For those with similar results use npm install --save-dev run-sequence
See npm site for details.
Here is my original text (bootstrap.js)
require(['js/main/main']);
Heres my glup task - (replace main/main with main/main-optimized-min)
gulp.task('replaceBootstrapText', function(){
gulp.src('src/bootstrap.js')
.pipe(replace('main/main', 'main/main-optimized.min'))
.pipe(gulp.dest(config.DEST));
});
Here is my result
require(['js/main/main']);imized.min']);
Can you tell me if its a bug or am I doing something incorrectly ?
The text was updated successfully, but these errors were encountered: