rockchalkwushock / how-to-open-source

A repository for learning how to publish NPM packages as well as contribute to open source projects.
https://www.npmjs.com/package/how-to-open-source
MIT License
8 stars 1 forks source link

Update rollup-plugin-uglify to the latest version πŸš€ #107

Open greenkeeper[bot] opened 6 years ago

greenkeeper[bot] commented 6 years ago

Version 4.0.0 of rollup-plugin-uglify was just published.

Dependency rollup-plugin-uglify
Current Version 3.0.0
Type devDependency

The version 4.0.0 is not covered by your current version range.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

It might be worth looking into these changes and trying to get this project onto the latest version of rollup-plugin-uglify.

If you have a solid test suite and good coverage, a passing build is a strong indicator that you can take advantage of these changes directly by merging the proposed change into your project. If the build fails or you don’t have such unconditional trust in your tests, this branch is a great starting point for you to work on the update.


Release Notes v4 and back to es5

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
Commits

The new version differs by 6 commits.

  • a847d2e 4.0.0
  • cd8f9f1 Change default export to named one
  • 6e46a12 Use uglify-js as uglify-es got deprecated in favour of terser (#42)
  • 3beec87 Merge pull request #40 from kzc/patch-1
  • 5c07826 have README point to uglify-es docs
  • 3dc7600 Fix tests

See the full diff

FAQ and help There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).

Your Greenkeeper bot :palm_tree:

greenkeeper[bot] commented 6 years ago

Version 5.0.0 just got published.

Update to this version instead πŸš€

Release Notes Workerize

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.

Commits

The new version differs by 9 commits.

  • 45fe426 5.0.0
  • a3c9ca7 Add jest-worker to dependencies
  • 780124d Upgrade dependencies
  • 63648fa Add benefits in readme
  • f72cc35 Rename sourceMap into sourcemap according rollup api
  • ab6f418 Upgrade to the new rollup hook and added rollup 65 peer
  • a39e9f9 Move uglify into own worker for every chunk
  • 94aa350 Update examples (#48)
  • e298c5b Mention package source

See the full diff

greenkeeper[bot] commented 6 years ago

Version 5.0.1 just got published.

Update to this version instead πŸš€

Commits

The new version differs by 4 commits.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 5.0.2 just got published.

Update to this version instead πŸš€

Commits

The new version differs by 3 commits.

See the full diff

greenkeeper[bot] commented 6 years ago

Update to this version instead πŸš€

Release Notes for v6.0.0

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)
Commits

The new version differs by 5 commits.

See the full diff

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 4 years ago

Update to this version instead πŸš€