Commit Graph

14472 Commits

Author SHA1 Message Date
Tobias Koppers dcf3b02aaf add wasm md4 implementation
expose createHash is loader context
2021-10-28 00:07:26 +02:00
Tobias Koppers f0298fe46f 5.60.0 2021-10-25 18:20:03 +02:00
Tobias Koppers c55dbcb5e4
Merge pull request #14236 from cgatian/feat/lazy-compilation-backend-https-support
feat: add lazyCompilationBackend options
2021-10-25 18:12:25 +02:00
Tobias Koppers 866e674114 update Cli snapshots 2021-10-25 15:34:21 +02:00
Tobias Koppers 691e37b6f1 add missing descriptions to schema 2021-10-25 12:33:33 +02:00
Tobias Koppers a8b00f864c nitpicks 2021-10-25 12:21:14 +02:00
Tobias Koppers 4a1d4e6dba Merge branch 'main' into feat/lazy-compilation-backend-https-support 2021-10-25 12:18:53 +02:00
Tobias Koppers ba154bc741 refactor and add test case 2021-10-25 12:12:52 +02:00
Tobias Koppers b865ecb2db
Merge pull request #14557 from JonnyBurger/patch-1
Honor `hashFunction` option for createFileSerializer
2021-10-24 21:03:35 +02:00
Jonny Burger 92d5266d22 Update PackFileCacheStrategy.js 2021-10-24 16:20:20 +02:00
Jonny Burger 6776595f40
Honor `hashFunction` option for createFileSerializer 2021-10-24 15:41:52 +02:00
Tobias Koppers 5d9cab64d9
Merge pull request #14384 from swissmanu/fix-normalmodule-beforeLoaders-hook
Initialize buildDependencies after beforeLoaders Hook
2021-10-22 09:56:24 +02:00
Manuel Alabor 8e53818939
Initialize buildDependencies after beforeLoaders Hook 2021-10-21 13:25:45 +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