S
S
SuperToster2022-03-20 20:31:11
gulp.js
SuperToster, 2022-03-20 20:31:11

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())
}

Webpack adds a *.LICENSE.txt file.

623764b0f3759218356084.png
Please tell me how to turn it off?)

Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Neverov, 2022-03-20
@TTATPuOT

Was able to google for you:
https://webpack.js.org/plugins/terser-webpack-plug...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question