wix-incubator / typescript-boilerplate

Generic project boilerplate for isomorphic TypeScript
MIT License
12 stars 7 forks source link

Update webpack to the latest version 🚀 #82

Closed greenkeeper[bot] closed 6 years ago

greenkeeper[bot] commented 6 years ago

Version 4.10.0 of webpack was just published.

Dependency webpack
Current Version 4.9.2
Type devDependency

The version 4.10.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 webpack.

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.10.0

Features

  • Export and import name strings in them wasm are mangled
  • Unused exports in wasm are removed (Tree Shaking)
    • Don't expect size improvements yet since there is not minimizer for WASM yet which does the Dead Code Elimination, which is the second part for this optimization
  • Direct WASM dependencies are enforced for:
    • functions imports with i64 parameters or return values
    • memory and table imports
  • generate shorter wasm runtime code

Bugfixes

  • generate correct initializer for imported globals in wasm
  • side-effect-free modules referenced by export * from are no longer including in the bundle
  • the side-effects optimization is now possible in incremental compilation
Commits

The new version differs by 34 commits.

  • ba70340 4.10.0
  • 023d4ca add more test cases
  • 7708471 Merge branch 'master' into bugfix/namespace-object
  • 1f2584e Merge pull request #7408 from webpack/bugfix/side-effects-caching
  • 29cbf98 Merge pull request #7275 from webpack/feature/wasm-mangling
  • 3ac1d02 Merge pull request #7416 from xtuc/fix-rewritten-global-type
  • fd4e84b fix(wasm): correct initializer type for rewritten globals
  • ae8d674 fix bug with incorrectly emitted modules
  • 7ebe12d throw error when unexpected state has been found
  • 115a72c SideEffectsPlugin don't modify cache entries
  • cc57b12 Merge pull request #7396 from xtuc/chore-bump-webassemblyjs7
  • d0ce47d chore: bump webassemblyjs 1.5.7
  • d46e35e Merge branch 'master' into feature/wasm-mangling
  • ec0369d Merge pull request #7364 from xtuc/chore-bump-webassemblyjs6
  • 586469a chore: correct version

There are 34 commits in total.

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: