ezekielchentnik / rollup-plugin-uglify-es

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update uglify-es

gauntface opened this issue · comments

Current dependency is 3.0.3, latest is 3.0.27

https://david-dm.org/ezekielchentnik/rollup-plugin-uglify-es

commented

Hard coding uglify-es@3.0.3 is unfortunate.

You can use the regular rollup-plugin-uglify with any uglify-es version as follows:

import { rollup } from 'rollup';
import uglify from 'rollup-plugin-uglify';
import { minify } from 'uglify-es';

rollup({
    entry: 'main.js',
    plugins: [
        uglify({}, minify)
    ]
});

https://github.com/TrySound/rollup-plugin-uglify#warning

Hey guys, agreed, feel free to PR

commented

rollup-plugin-uglify is now using uglify-es by default.

rollup-plugin-uglify again uses uglify-es
Use terser instead
https://github.com/TrySound/rollup-plugin-terser

hey guys, roll on over to: https://github.com/TrySound/rollup-plugin-terser its maintained and is latest goodness for squashing