-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Webpack v4.0.0-alpha support #823
Commits on Dec 13, 2017
-
But don't test webpack 4 on old node versions since it now requires 6 or later.
Configuration menu - View commit details
-
Copy full SHA for f9608bc - Browse repository at this point
Copy the full SHA f9608bcView commit details -
Configure rules instead of loaders
webpack 4 drops the 'loaders' key on the config
Configuration menu - View commit details
-
Copy full SHA for 292e027 - Browse repository at this point
Copy the full SHA 292e027View commit details -
Register plugins in webpack 4 compatible way
webpack has a completely new plugin interface. See changes to wepack/tapable for in-depth.
Configuration menu - View commit details
-
Copy full SHA for ba3a31e - Browse repository at this point
Copy the full SHA ba3a31eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c8b0e5 - Browse repository at this point
Copy the full SHA 9c8b0e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f62917 - Browse repository at this point
Copy the full SHA 4f62917View commit details -
In the future the file-loader should move away from loadContext.options and this would not be needed.
Configuration menu - View commit details
-
Copy full SHA for 3cf2be4 - Browse repository at this point
Copy the full SHA 3cf2be4View commit details -
Webpack 4 now requires either 'production', 'development', or 'none'.
Configuration menu - View commit details
-
Copy full SHA for 6aaaa93 - Browse repository at this point
Copy the full SHA 6aaaa93View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d74933 - Browse repository at this point
Copy the full SHA 1d74933View commit details -
Remove need for warnings for no-op taps
The new method with AsyncSeriesWaterfallHook already merges the initial value with the result so there's no need to worry about the result not being defined.
Configuration menu - View commit details
-
Copy full SHA for 3e4bcce - Browse repository at this point
Copy the full SHA 3e4bcceView commit details -
Configuration menu - View commit details
-
Copy full SHA for ea3afa5 - Browse repository at this point
Copy the full SHA ea3afa5View commit details -
Change to cache tests to development mode
Recompiling and caching only really makes sense for development builds.
Configuration menu - View commit details
-
Copy full SHA for a9e3467 - Browse repository at this point
Copy the full SHA a9e3467View commit details -
Fix non-deterministic sort test
toposort is non-deterministic when there's a tie. Needed to allow for either result in the test. This happens when A and B both depend on C, dependency graph looks like: A / C \ B Ideally we could pass a tie breaker sort function to toposort to fix this.
Configuration menu - View commit details
-
Copy full SHA for a8c072b - Browse repository at this point
Copy the full SHA a8c072bView commit details -
Add better diff matcher for fixture tests
Previously was just doing a strait string compare which was very hard to tell what the differences causing the failing were.
Configuration menu - View commit details
-
Copy full SHA for 53ea016 - Browse repository at this point
Copy the full SHA 53ea016View commit details
Commits on Jan 7, 2018
-
Configuration menu - View commit details
-
Copy full SHA for f60c7a5 - Browse repository at this point
Copy the full SHA f60c7a5View commit details -
Update fixtures for webpack 4.0.0-alpha.4
minification is now on by default for production mode.
Configuration menu - View commit details
-
Copy full SHA for a3d8f11 - Browse repository at this point
Copy the full SHA a3d8f11View commit details
Commits on Jan 8, 2018
-
Configuration menu - View commit details
-
Copy full SHA for fb24cb4 - Browse repository at this point
Copy the full SHA fb24cb4View commit details
Commits on Feb 13, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 7c78137 - Browse repository at this point
Copy the full SHA 7c78137View commit details
Commits on Feb 14, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 8f1c3d0 - Browse repository at this point
Copy the full SHA 8f1c3d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 82897ad - Browse repository at this point
Copy the full SHA 82897adView commit details -
Make dependency sort work with webpack 4
webpack-4.0.0-alpha.5 introduced a large refactor to chunks. This is a corresponding update to handle the new structure. This change introduces an API change to `chunksorter.dependency`. It now requires an additional parameter `chunkGroups` that is available from the compilation object. To read more about the CommonsChunkPlugin changes see: - webpack/webpack#6357 - https://gist.github.com/sokra/1522d586b8e5c0f5072d7565c2bee693
Configuration menu - View commit details
-
Copy full SHA for 57ed63f - Browse repository at this point
Copy the full SHA 57ed63fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3794144 - Browse repository at this point
Copy the full SHA 3794144View commit details -
Tests were green before this so can have higher confidence in this change.
Configuration menu - View commit details
-
Copy full SHA for eb641b3 - Browse repository at this point
Copy the full SHA eb641b3View commit details -
Merge branch 'examples-generation' into feat/webpack-4
Wanted to update the test fixtures to not use minification, but needed to go back to a stable state to do that.
Configuration menu - View commit details
-
Copy full SHA for e623e7e - Browse repository at this point
Copy the full SHA e623e7eView commit details -
Appear to all be internal webpack changes. It is a bit painful to review. Certain parts may be easier to see the changes by using the --word-diff-regex flag. Example: git diff --word-diff-regex=[^[:space:]\"\)]+
Configuration menu - View commit details
-
Copy full SHA for d7e2306 - Browse repository at this point
Copy the full SHA d7e2306View commit details -
Update version of extract-text-webpack-plugin
Need a webpack 4 compatible version.
Configuration menu - View commit details
-
Copy full SHA for 52f76cc - Browse repository at this point
Copy the full SHA 52f76ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 20b4a1e - Browse repository at this point
Copy the full SHA 20b4a1eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b0cf532 - Browse repository at this point
Copy the full SHA b0cf532View commit details -
Iterate in a better way over parent chunks
Perf improvement. Using getParents() causes a full iteration over the parents Set to get an array. Then using map() is a second iteration over the resulting array. By using Array.from(iterable, mapFn) we only iterate once over the internal data structure of parents.
Configuration menu - View commit details
-
Copy full SHA for 4df601b - Browse repository at this point
Copy the full SHA 4df601bView commit details