Commit dae7879a authored by Nikolay Gromov's avatar Nikolay Gromov

Добавил уточнение про добавление файлов в поток обработки

parent dc3c68fc
......@@ -424,7 +424,9 @@ gulp.task('browserify', function () {
var b = browserify({
entries: dirs.srcPath + '/js/global-script.js',
debug: true
}).transform('babelify', {presets: ['@babel/preset-env']});
})
// .add([dirs.srcPath + '/js/scri.js']) // добавить все необходимые файлы
.transform('babelify', {presets: ['@babel/preset-env']});
return b.bundle()
.pipe(source('script.js'))
.pipe(gulp.dest(dirs.buildPath + '/js'))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment