Commit Graph

11569 Commits

Author SHA1 Message Date
Tobias Koppers a14f073b35 5.0.0-beta.23 2020-08-02 07:08:17 +02:00
Tobias Koppers fdfaa2efa0
Merge pull request #11252 from webpack/improve/cache-and-progress
do cache related tasks after calling handler in watching
2020-08-01 19:11:48 +02:00
Tobias Koppers ca369f23c5 do cache related tasks after calling handler in watching
improve progress output
2020-08-01 09:00:17 +02:00
Tobias Koppers 42aabc7351
Merge pull request #11253 from webpack/dx/runtime-errors
add useful error messages for runtime and dependsOn
2020-08-01 08:53:09 +02:00
Tobias Koppers 9e81495f7b add useful error messages for runtime and dependsOn 2020-08-01 06:43:16 +02:00
Tobias Koppers c5126ba659
Merge pull request #11251 from webpack/feature/mangle-exports-size
add size optimization mode to `optimization.mangleExports`
2020-07-31 14:40:32 +02:00
Tobias Koppers 4c3216efad add size optimization mode to `optimization.mangleExports` 2020-07-31 12:54:38 +02:00
Tobias Koppers dad6464696
Merge pull request #11250 from webpack/dependabot/npm_and_yarn/babel/core-7.11.0
chore(deps-dev): bump @babel/core from 7.10.5 to 7.11.0
2020-07-31 10:54:44 +02:00
Tobias Koppers ac86e0d246
Merge pull request #11249 from webpack/dependabot/npm_and_yarn/eslint-plugin-jest-23.20.0
chore(deps-dev): bump eslint-plugin-jest from 23.19.0 to 23.20.0
2020-07-31 10:54:29 +02:00
dependabot-preview[bot] e7d3296ce1
chore(deps-dev): bump @babel/core from 7.10.5 to 7.11.0
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.10.5 to 7.11.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.11.0/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-31 05:09:48 +00:00
dependabot-preview[bot] 8c25de90cc
chore(deps-dev): bump eslint-plugin-jest from 23.19.0 to 23.20.0
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 23.19.0 to 23.20.0.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v23.19.0...v23.20.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-30 20:37:01 +00:00
Tobias Koppers 7878160076
Merge pull request #11245 from webpack/test/dynamic-reexport-default
add test case for bug in webpack 4
2020-07-30 18:17:02 +02:00
Tobias Koppers 5d67bf64db
Merge pull request #11246 from webpack/bugfix/three-digits
fix digits output of timestamp at 10 o'clock
2020-07-30 18:16:17 +02:00
Tobias Koppers 820174baef
Merge pull request #11235 from webpack/feature/runtime-based-optimization
Runtime based optimization
2020-07-30 12:50:31 +02:00
Tobias Koppers a4f17775b1 fix dependOn behavior with runtimes, fix runtime passing by entry 2020-07-30 11:18:09 +02:00
Tobias Koppers 135d5c8b30
Merge pull request #11226 from webpack/dependabot/npm_and_yarn/types/node-12.12.53
chore(deps-dev): bump @types/node from 12.12.51 to 12.12.53
2020-07-30 10:43:13 +02:00
Tobias Koppers 421cd95274
Merge pull request #11237 from webpack/dependabot/npm_and_yarn/eslint-plugin-jest-23.19.0
chore(deps-dev): bump eslint-plugin-jest from 23.18.0 to 23.19.0
2020-07-30 10:42:57 +02:00
Tobias Koppers 6ba2e6623b
Merge pull request #11236 from webpack/dependabot/npm_and_yarn/terser-webpack-plugin-3.0.8
chore(deps): bump terser-webpack-plugin from 3.0.7 to 3.0.8
2020-07-30 10:42:44 +02:00
Tobias Koppers cb8f6ade65 add test case for bug in webpack 4 2020-07-30 09:17:36 +02:00
Tobias Koppers 838f135e1a prettier 2020-07-30 00:57:32 +02:00
Ivan Kopeykin 9eb98d125a add test 2020-07-29 23:47:11 +03:00
Tobias Koppers 77cdce7393 remove unused methods, improve code coverage 2020-07-29 11:14:26 +02:00
Tobias Koppers 216ab35823 avoid storing code generation result on errors 2020-07-28 22:09:31 +02:00
Tobias Koppers 3465b00a62 performance, cleanup 2020-07-28 22:05:13 +02:00
Tobias Koppers 8948263db8 avoid using getChunkModuleMaps as it doesn't support different modules per runtime 2020-07-28 17:16:32 +02:00
Tobias Koppers 0e5b6c1b08 update Cli snapshot 2020-07-28 15:51:39 +02:00
Tobias Koppers 7a22cd3288 avoid deprecated config in test case 2020-07-28 14:09:39 +02:00
Tobias Koppers 6b4ce6e011 improve HMR plugin with multiple runtimes 2020-07-28 14:06:04 +02:00
Tobias Koppers 1027268fab bugfixes 2020-07-28 10:13:34 +02:00
dependabot-preview[bot] 26838261bd
chore(deps-dev): bump eslint-plugin-jest from 23.18.0 to 23.19.0
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 23.18.0 to 23.19.0.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v23.18.0...v23.19.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-27 23:51:50 +00:00
dependabot-preview[bot] e18f6cad18
chore(deps): bump terser-webpack-plugin from 3.0.7 to 3.0.8
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 3.0.7 to 3.0.8.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v3.0.7...v3.0.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-27 22:11:40 +00:00
Tobias Koppers 6e7e145107 linting 2020-07-27 22:59:56 +02:00
Tobias Koppers 1265765141 polish, types 2020-07-27 22:41:04 +02:00
Tobias Koppers e16bdfda6c refactor used exports analysis, hashing, code generation, optimizations
to keep track of runtimes, used exports depending on runtime

modules can have different hashes and generated code depending on runtime
chunks are only considered as equal for MergeDuplicateChunks and SplitChunks when exports used in contained modules are equal
added `optimization.usedExports: "global"` to opt-out from used exports analysis per runtime
added `splitChunks.usedExports` and `splitChunks.cacheGroups[x].usedExports` to enable/disable used exports comparing for modules
`splitChunks.usedExports` defaults to `true` in production
2020-07-27 22:40:44 +02:00
Tobias Koppers f14eddb6d9 summarize referencedExports before passing them to processReferencedModule 2020-07-27 22:40:42 +02:00
Tobias Koppers b3466e996b add entry[x].runtime option to allow runtime chunk per entry 2020-07-27 22:40:40 +02:00
dependabot-preview[bot] e9072c7d8b
chore(deps-dev): bump @types/node from 12.12.51 to 12.12.53
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 12.12.51 to 12.12.53.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-24 21:46:27 +00:00
Tobias Koppers 034cd23209
Merge pull request #11214 from webpack/dependabot/npm_and_yarn/types/node-12.12.51
chore(deps-dev): bump @types/node from 12.12.50 to 12.12.51
2020-07-23 13:44:34 +02:00
Tobias Koppers 96a2945a6c
Merge pull request #11216 from snitin315/fix/template
fix: feature_request template
2020-07-23 13:44:15 +02:00
Tobias Koppers 8a21bba437
Merge pull request #11218 from webpack/dependabot/npm_and_yarn/events-3.2.0
chore(deps): bump events from 3.1.0 to 3.2.0
2020-07-23 13:43:49 +02:00
Tobias Koppers 740afbf398
Merge pull request #11208 from webpack/feature/nullish-coalescing
add nullish coalescing support
2020-07-23 10:25:47 +02:00
Ivan Kopeykin 60619d2a41 fix lint 2020-07-22 23:05:26 +03:00
Ivan Kopeykin 8b0aed4465 fix discussions 2020-07-22 22:49:07 +03:00
dependabot-preview[bot] 0b7934ae13
chore(deps): bump events from 3.1.0 to 3.2.0
Bumps [events](https://github.com/Gozala/events) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/Gozala/events/releases)
- [Changelog](https://github.com/Gozala/events/blob/master/History.md)
- [Commits](https://github.com/Gozala/events/compare/v3.1.0...v3.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-22 17:09:58 +00:00
Ivan Kopeykin 03bfa6fb59 install Node.js 14 in appveyor 2020-07-22 19:58:34 +03:00
Ivan Kopeykin bd858f0d30 add more types 2020-07-22 19:58:08 +03:00
Ivan Kopeykin 5e313d933d Merge remote-tracking branch 'upstream/feature/nullish-coalescing' into feature/nullish-coalescing 2020-07-22 16:40:09 +03:00
Tobias Koppers cdacc2f5af
restore accidentally prettified test case 2020-07-22 15:38:20 +02:00
Ivan Kopeykin df9ac3a9e7 respect side effects for if statement 2020-07-22 14:21:42 +03:00
Ivan Kopeykin ac0b340fb2 fix tests, filter nullish test cases 2020-07-22 13:44:48 +03:00