gulp-terser icon indicating copy to clipboard operation
gulp-terser copied to clipboard

gulp plugin, compressed es6+ code.

Results 6 gulp-terser issues
Sort by recently updated
recently updated
newest added

This plugin uses terser 5.9.0 which is insecure, see: https://github.com/advisories/GHSA-4wf5-vphf-c2xc

I am trying to use gulp-terser to run terser against js files that were compiled from TypeScript. The TypeScript compiler generated sourcemaps when it ran, and in this source map,...

Where `Module.js` is an ES6 module, ``` gulp.src('Module.js') .pipe(gulpTerser({module: true})) .pipe(gulp.dest('public/js')) ``` results in ``` SyntaxError in plugin "terser" Message: Unexpected token: eof (undefined) Details: filename: 0 ... ``` while...

``` gulp.src(source, { base, sourcemaps }) .pipe(tsProject()) .pipe(gulpIf(!!minify, terser({ safari10: true }))) .pipe(gulp.dest(target, this.returnSourcemaps(sourcemaps))) .on('end', () => resolve(true)) ``` With `[email protected]` & `[email protected]`, got this error message. Need help.

Please update published version in registry. `fix: unhandled promise rejection error` (committed on 14 Sep ) is not presented in "built" version that's installed on `npm install`. 1.4.0 tag was...

Apologies if this is a very simple solution! Just starting out with gulp. When I run the [how to use](https://github.com/duan602728596/gulp-terser#how-to-use) example, I get the following exception: ``` Error: No valid...