Answer the question
In order to leave comments, you need to log in
Gulp Webpack how to remove *.LICENSE.txt?
Building Gulp, js builds Webpack
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())
}
Answer the question
In order to leave comments, you need to log in
Was able to google for you:
https://webpack.js.org/plugins/terser-webpack-plug...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question