diff --git a/gulpfile.js b/gulpfile.js index e52020e..2fed0cc 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -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() @@ -279,4 +279,4 @@ gulp.task('dist:zip', (done) => { done(); }) -gulp.task('dist', gulp.series('clean', 'build', 'dist:copy', 'dist:zip')); \ No newline at end of file +gulp.task('dist', gulp.series('clean', 'build', 'dist:copy', 'dist:zip'));