TrySound / rollup-plugin-uglify

Rollup plugin to minify generated bundle
MIT License
260 stars 42 forks source link

feat: add support for filter by chunk files names #61

Open yisraelx opened 5 years ago

yisraelx commented 5 years ago

add option to include and exclude chunk files (implement of #54)

uglify({
  include: ['some*', 'foo.js'],
  exclude: /other.*/
})
TrySound commented 5 years ago

Hey man! Thanks for this. Though I suggest you to focus more on https://github.com/TrySound/rollup-plugin-terser. I don't really trust uglify team these days as they gave up on uglify-es package which was used a lot.

yisraelx commented 5 years ago

@TrySound Okay, I made a forward of PR's to TrySound/rollup-plugin-terser#37.