Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for rollup 2.0 #82

Open
bkdotcom opened this issue Apr 10, 2020 · 5 comments
Open

support for rollup 2.0 #82

bkdotcom opened this issue Apr 10, 2020 · 5 comments

Comments

@bkdotcom
Copy link

rollup-plugin-uglify:

  "peerDependencies": {
    "rollup": ">=0.66.0 <2"
  },

how can I use rollup-plugin-uglify with rollup 2.x?

@yairEO
Copy link

yairEO commented Jul 21, 2020

@TrySound - I also need to know this, thanks

@TrySound
Copy link
Owner

Better use terser
https://github.com/TrySound/rollup-plugin-terser

@kmxz
Copy link

kmxz commented Oct 29, 2021

UglifyJS is still being maintained, not yet deprecated, and I don't see a strong reason to migrate from UglifyJS to Terser for projecting not outputting ES6+ code. It would be great if we can keep using rollup-plugin-uglify instead of rollup-plugin-terser.

Any change to get the PR (for supporting rollup 2) merged?

@LeoDog896
Copy link

Still relevant -- I was going to combine the workflow used in markedjs, and uglify produces a smaller bundle size than terser as of now.

@kongyangsong
Copy link

rollup-plugin-uglify:

  "peerDependencies": {
    "rollup": ">=0.66.0 <2"
  },

how can I use rollup-plugin-uglify with rollup 2.x?

I fixed this with command "npm i rollup-plugin-uglify -D --force"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants