Optimized browserify task
This commit is contained in:
parent
51c3405ea8
commit
40eb0e8534
|
@ -110,7 +110,7 @@ gulp.task('styles', () => {
|
|||
gulp.task('scripts', () => {
|
||||
let b = browserify({
|
||||
entries: `${src.scripts}/index.js`,
|
||||
debug: true
|
||||
debug: isDev
|
||||
});
|
||||
|
||||
return b.transform('babelify').bundle()
|
||||
|
|
Loading…
Reference in a new issue