wix-incubator / typescript-boilerplate

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

Update webpack to the latest version 🚀 #70

Closed greenkeeper[bot] closed 6 years ago

greenkeeper[bot] commented 6 years ago

Version 4.6.0 of webpack was just published.

Dependency webpack
Current Version 4.5.0
Type devDependency

The version 4.6.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.6.0

Features

  • improve stats output alignment
  • improve stats text output when all exports are used
  • add webpackPrefetch/webpackPreload magic comments to import()
  • add stats.entrypoints[].children and stats.entrypoints[].childAssets to stats json
  • add prefetched/preloaded chunks and assets to stats text output
  • Performance improvements

Bugfixes

  • Escape chunk ids for target: "webworker"
  • fix this to undefined ESM replacement in function default values
  • new require(...) is weird, but now behaves like in node.js
  • fix behavior of export * from "commonjs" with partial override
  • fixed build time output in current locale in stats text output
  • fixed ChunkModuleIdRangePlugin and add tests
  • avoid race condition when using the loadModule loader API
  • fix default value of output.globalObject in target: "node-webkit"
  • fix a bug with loadModules and dependencies in these modules
  • fix hot.accept parser plugin to allow defined values as argument
  • print unknown size when size is unknown
  • fix a bug where some chunks were missing in the "single" runtime chunk
  • fix cloning of optimization configuration

Internal changes

  • Set up infrastructure for linting typings with TypeScript
Commits

The new version differs by 161 commits.

  • e7c8fa4 4.6.0
  • 941be29 Merge pull request #7063 from webpack/bugfix/clone-optimization
  • 3a5fda9 Merge pull request #7062 from webpack/bugfix/issue-6931
  • c47150c Clone optimization config in Defaulter
  • 3f99517 Merge pull request #6905 from xtuc/fix-handle-unknown-size
  • aee2491 Merge pull request #6962 from justinhelmer/bug/6919
  • ec4ec8e Merge pull request #7056 from webpack/feature/preload
  • 0ff2901 Merge pull request #7060 from webpack/test/any-comment-in-import
  • 58ba91d fix bug which prevented some chunks to show up in Chunk.getAllAsyncChunks
  • 946c4df add test case for comments in import()
  • 8e2e19b fix unstable sorting of ChunkGroups and add test
  • 205ca62 fix reversed order in Chunk.compareTo
  • babc8a4 Merge pull request #7059 from bastimeyer/bugfix/loaderplugin-recursive
  • be79d6d add mixed test case which also tests equal order sorting
  • 873d7d4 show preload and prefetch in stats

There are 161 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: