Commit Graph

14572 Commits

Author SHA1 Message Date
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
Mark Molinaro b422943d2a Limit scope of changes to just HarmonyExportImportedSpecifierDependencies 2021-10-07 20:55:49 +00: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
Zhuo Zhang e0915a538e add "diagnostics_channel" to NodeTargetPlugin 2021-10-07 21:28:48 +08:00
Tobias Koppers 48ffd04129
Merge pull request #14425 from webpack/feature/hook-read-resource 2021-10-07 15:14:08 +02:00
Tobias Koppers 508e8d50f2 expand readResource hook to cover normal file reading 2021-10-07 10:28:44 +02:00
Tobias Koppers da74127bfe
Merge pull request #14420 from webpack/perf/remove-caching
remove caching from getModule/ChunkGraphModule/Chunk
2021-10-06 20:19:09 +02:00
Tobias Koppers b1b1796101
Merge pull request #14414 from webpack/perf/chunk-graph
improve chunk graph creation performance
2021-10-06 20:18:42 +02:00
Tobias Koppers e1aa5abff0 fix case where runtime is empty string 2021-10-06 15:41:23 +02:00
Tobias Koppers a6fc14b667 update types 2021-10-06 15:39:21 +02:00
Tobias Koppers 7311f955a8 only capture time when not cached
time is also expensive...
2021-10-06 15:39:21 +02:00
Tobias Koppers 283359261d add mem caching for getBlockModules 2021-10-06 15:39:21 +02:00
Tobias Koppers 1e5abcc51b improve extractBlockModules 2021-10-06 15:39:21 +02:00
Tobias Koppers 3143fe602a remove caching from ChunkGraph 2021-10-06 14:06:43 +02:00
Tobias Koppers 7da89c0580 remove caching from getModuleGraphModule 2021-10-06 14:06:43 +02:00
Tobias Koppers 250c6b3d16
Merge pull request #14416 from webpack/logging/affected2 2021-10-06 13:56:26 +02:00
Tobias Koppers 2934fd0e3c add timing to second affected module computation 2021-10-06 10:24:12 +02:00
Tobias Koppers 0581bb3c1c 5.57.1 2021-10-05 20:25:15 +02:00
Tobias Koppers 48c3d290c5
Merge pull request #14413 from webpack/bugfix/cache-unaffected
bugfix cacheUnaffected
2021-10-05 20:19:38 +02:00
Tobias Koppers 07ad896f7a bugfix cacheUnaffected 2021-10-05 20:15:04 +02:00
Tobias Koppers e841ab0141 5.57.0 2021-10-05 17:06:41 +02:00
Tobias Koppers 9e3e71813f
Merge pull request #14410 from webpack/bugfix/allow-side-effects
optimization.sideEffects is compatible with cacheUnaffected
2021-10-05 17:05:55 +02:00
Tobias Koppers da098d7872 optimization.sideEffects is compatible with cacheUnaffected 2021-10-05 16:54:51 +02:00
Tobias Koppers 56653f8275
Merge pull request #14406 from webpack/bugfix/cache-unaffected-ids
handle changing module/chunk ids for cacheUnaffected
2021-10-05 16:06:14 +02:00
Tobias Koppers f05246efcb use buildInfo instead of hash for cacheUnaffected 2021-10-05 15:09:39 +02:00
Tobias Koppers 4c688339be run test cases for cacheUnaffected 2021-10-05 15:08:20 +02:00
Tobias Koppers 91b6972144 add memCache2 for mem caching with module/chunk ids 2021-10-05 15:08:18 +02:00
Tobias Koppers 508ededf0f
Merge pull request #14396 from webpack/perf/string-xor
faster StringXor
2021-10-05 12:41:56 +02:00
Tobias Koppers 65ad030156 faster StringXor 2021-10-04 10:36:24 +02:00
Tobias Koppers 1ad5234555
Merge pull request #14381 from webpack/cache/externals 2021-10-04 09:56:21 +02:00
Tobias Koppers 06da0cb441
Merge pull request #14325 from shfshanyue/main
chore: merge multi hash.update
2021-10-04 09:56:04 +02:00
Tobias Koppers ed55e200ef 5.56.1 2021-10-04 09:32:41 +02:00
Tobias Koppers 835240024d
Merge pull request #14393 from webpack/bugfix/define-plugin
give DefinePlugin a different key to avoid conflicting with different variants of it
2021-10-04 09:32:23 +02:00
Tobias Koppers 7135727cba avoid unneccessary separators and arrays 2021-10-04 09:29:09 +02:00
Tobias Koppers ebc2551060 give DefinePlugin a different key to avoid conflicting with different variants of it 2021-10-04 09:01:00 +02:00
Tobias Koppers 80bf77d26f add test case 2021-10-01 16:37:51 +02:00
Tobias Koppers a0a5f28510 allow ExternalModules to be unsafe cached 2021-10-01 16:27:20 +02:00
Tobias Koppers 4eb122092d 5.56.0 2021-10-01 16:12:47 +02:00
Tobias Koppers b7f382878e
Merge pull request #14366 from webpack/perf/define-hash
use a hash instead of a list to track DefinePlugin dependency
2021-09-29 21:57:55 +02:00
Tobias Koppers 5f22bffdd1 use a hash instead of a list to track DefinePlugin dependency 2021-09-29 15:01:31 +02:00
Tobias Koppers e78403d6a8 5.55.1 2021-09-29 10:56:21 +02:00
Tobias Koppers 0c3fab62ab
Merge pull request #14358 from webpack/bugfix/shared-cache 2021-09-29 10:55:31 +02:00
Tobias Koppers 61569e26b9 compare references modules when restoring mem cache 2021-09-29 09:09:42 +02:00
Tobias Koppers 6c6e48c382 avoid RuntimeSpecMap in favor of directly setting on memCache 2021-09-29 00:06:44 +02:00