Commit Graph

14459 Commits

Author SHA1 Message Date
Tobias Koppers 1266d76956 allow to merge multiple hmr updates which calling hot.check while previous update is ready 2021-10-25 09:02:12 +02:00
Tobias Koppers 3dbbdcb28c 5.59.1 2021-10-20 23:39:47 +02:00
Tobias Koppers 91578b8084
Merge pull request #14543 from webpack/bugfix/build-http-create-lockfile
fix initial creation of lockfile
2021-10-20 23:33:58 +02:00
Tobias Koppers 13b7da6d0a fix initial creation of lockfile 2021-10-20 22:56:39 +02:00
Tobias Koppers 8f2e9dcdd5
Merge pull request #14538 from webpack/ci/longtests
move some test suites to long tests
2021-10-20 16:04:51 +02:00
Tobias Koppers e498f04cc7
Merge pull request #14537 from webpack/bugfix/future-managed-paths
fix managed paths regexp handling
2021-10-20 15:10:14 +02:00
Tobias Koppers 163ce30a6a move some test suites to long tests 2021-10-20 15:09:16 +02:00
Tobias Koppers 217a0be903 fix managed paths regexp handling 2021-10-20 10:41:48 +02:00
Tobias Koppers 19ca23f062 5.59.0 2021-10-19 19:54:28 +02:00
Tobias Koppers 92cd284e5b
Merge pull request #14516 from webpack/feature/split-chunks-size-reduction 2021-10-19 14:47:22 +02:00
Tobias Koppers 3d3c65f50f add splitChunks.minSizeReduction 2021-10-19 12:35:04 +02:00
Tobias Koppers 4a23389705
Merge pull request #14510 from webpack/feature/build-http
improve buildHttp
2021-10-19 09:48:09 +02:00
Tobias Koppers ae52a74802 improve buildHttp
allow multiple configurations to write to the same lockfile
add allowedUris for allowlisting
add schema validation
2021-10-19 09:21:05 +02:00
Tobias Koppers 8e283053c8
Merge pull request #14512 from h4l/bugfix/false-build-cycle-error
Fix incorrect BuildCycleError when loadModule() loads a module more than once
2021-10-19 00:22:34 +02:00
Tobias Koppers 576c260470
Merge pull request #14513 from webpack/feature/module-phases-hooks
add hooks during module build
2021-10-19 00:22:20 +02:00
Tobias Koppers 9b784a683a
Merge pull request #14509 from webpack/feature/regexp-managed-paths
allow RegExp as managed and immutable paths
2021-10-19 00:21:56 +02:00
Tobias Koppers 8f341ebaf8 add hooks during module build 2021-10-18 23:35:55 +02:00
Tobias Koppers 9b08be6d10 keep old test case too 2021-10-18 23:14:50 +02:00
Tobias Koppers 5e16d642ad allow RegExp as managed and immutable paths
add all node_modules as managedPaths in futureDefaults
2021-10-18 22:56:41 +02:00
Hal Blackburn 8f2c266966 fix build cycle detection in Compilation
When tracking the modules which are being built by an origin module,
the code mistakenly adds the origin module itself to the set of modules
it's building, instead of the actual module about to be built. As a
result, when a module build finishes (and the module has itself called
loadModule()), it remains marked as building itself. So if it gets
loaded again, a BuildCycleError is reported despite no cycle existing.

Fixes #14379
2021-10-18 20:24:04 +01:00
Hal Blackburn 1484aecf4c add failing test to reproduce issue #14379
Currently a BuildCycleError can incorrectly be reported when a module
uses LoaderContext.loadModule() more than once with the same request.
2021-10-18 20:16:58 +01:00
Hal Blackburn 91659f2bcb refactor load-module-cycle test loader
It can now load more than one ref per module, which is needed to test
issue #14379.
2021-10-18 20:08:56 +01:00
Tobias Koppers ccdeabf735
Merge pull request #14507 from webpack/bugfix/14484 2021-10-18 14:19:16 +02:00
Tobias Koppers 5fa4f84759
Merge pull request #14473 from btea/fix-typo
fix: identifier typo
2021-10-18 13:21:54 +02:00
Tobias Koppers 6e3eab0550
Merge pull request #14506 from webpack/bugfix/14176
fix missing restore of resourceResolveData
2021-10-18 13:18:37 +02:00
Tobias Koppers 8a6fb50c6b avoid waiting for add module since that is not used with unsafe cache
fixes #14484
2021-10-18 12:42:49 +02:00
Tobias Koppers 877cb13806 fix missing restore of resourceResolveData
fixes #14176
2021-10-18 09:25:00 +02:00
Tobias Koppers 4696287cd7
Merge pull request #14492 from webpack/feat-add-pure-notation
add pure notation to Object calls
2021-10-17 12:09:00 +02:00
Ivan Kopeykin 27411f8f0f add pure notations to Object calls
/*#__PURE__*/ notations should help minimizers to drop unused Object(...) calls
2021-10-17 11:06:14 +03:00
Tobias Koppers 8a6d156c15 5.58.2 2021-10-13 11:39:02 +02:00
Tobias Koppers bf0cb5bfc7
Merge pull request #14474 from webpack/bugfix/filesysteminfo-snapshot
handle non-existing directories
2021-10-13 11:32:58 +02:00
Tobias Koppers e26ac7540a handle non-existing directories
fixes #14441
2021-10-13 10:51:36 +02:00
Tobias Koppers 1891b64d6b
Merge pull request #14468 from webpack/bugfix/unsafe-cache-duplication 2021-10-13 09:25:50 +02:00
Tobias Koppers 7e9534a67b
Merge pull request #14469 from webpack/perf/hashing-bigint 2021-10-13 09:24:58 +02:00
btea 857eebe495 fix: identifier typo 2021-10-13 11:01:46 +08:00
Tobias Koppers 80b1e77705 fix duplication due to unsafe cache 2021-10-12 22:46:50 +02:00
Tobias Koppers 3fa83c6c77 help v8 hashing the bigint 2021-10-12 09:50:13 +02:00
Tobias Koppers 2306d13fbc
Merge pull request #14457 from webpack/fix-serialization-context
fix: provide correct serialization context
2021-10-11 21:14:52 +02:00
Ivan Kopeykin dfbce79f3c fix: provide correct serialization context
instead of context use local variable ctx
2021-10-11 13:41:31 +03:00
Tobias Koppers 2eecffb273 5.58.1 2021-10-08 15:41:04 +02:00
Tobias Koppers d106f00db5
Merge pull request #14436 from webpack/revert/chunk-combinations
Revert "track chunk combinations for modules"
2021-10-08 15:39:01 +02:00
Tobias Koppers ada210827a
Merge pull request #14435 from webpack/bugfix/webpack-extension 2021-10-08 15:10:29 +02:00
Tobias Koppers 1ee6f808d3 Revert "track chunk combinations for modules"
This reverts commit 0e13c7dea4.
2021-10-08 15:08:48 +02:00
Tobias Koppers 67d6c7a31b fix `.webpack[]` suffix to not execute rules 2021-10-08 13:56:39 +02:00
Tobias Koppers 7666277551 5.58.0 2021-10-07 17:48:10 +02:00
Tobias Koppers 59581f53ac
Merge pull request #14427 from webpack/perf/chunk-combinations 2021-10-07 17:32:30 +02:00
Tobias Koppers 0c71073adb
Merge pull request #14426 from Zhangdroid/main
add `diagnostics_channel` to NodeTargetPlugin
2021-10-07 16:41:51 +02:00
Tobias Koppers 049b859879 compute depth faster 2021-10-07 16:13:42 +02:00
Tobias Koppers 643f1200c0 skip chunk conditions faster 2021-10-07 15:55:22 +02:00
Tobias Koppers 0e13c7dea4 track chunk combinations for modules
improves caching
improves SplitChunksPlugin
2021-10-07 15:43:27 +02:00