import webpack from 'webpack-stream'
export const js = () => {
return app.gulp.src(app.path.src.js, { sourcemap: true })
.pipe(webpack({
mode: 'production',
output: {
filename: 'app.min.js'
}
}))
.pipe(app.gulp.dest(app.path.build.js))
.pipe(app.plugins.browserSync.stream())
}