Skip to content

Releases: TrySound/rollup-plugin-uglify

v6.0.0

16 Sep 14:15
Compare
Choose a tag to compare

In this release I improved worker interaction

  • now you can pass not string values to worker which fixes #51
  • added the option to specify number of workers per bundle (set of chunks)

Workerize

30 Aug 18:27
Compare
Choose a tag to compare

Moved uglify call into worker which may significantly reduce build time in projects with code splitting.

This required to remove minifier option. Prefer using terser plugin instead.

Renamed sourceMap into sourcemap according rollup api.

v4 and back to es5

19 May 08:52
Compare
Choose a tag to compare

uglify-es is not supported anymore so we returned back to old school uglify-js. If you still want to transpile es6+ try rollup-plugin-terser. Terser is actively developed fork of uglify-es with the new name.

In this version we changed the way to import plugin. Now it looks like this

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

export default {
  ...
  plugins: [uglify()]
  ...
}

To see more prettier errors uglify shows also babel code frame

    > 1 | var = 1
        |    ^ Name expected

Error: Error transforming bundle with 'uglify' plugin: Name expected

v3 and ES

20 Jan 22:14
Compare
Choose a tag to compare

Upgraded to uglify-es. Now you can transpile es without another actions.

Uglify upgrade

29 May 08:13
Compare
Choose a tag to compare

Upgraded uglify 3. You may use both uglify-js (default) and uglify-es (unstable).