Commit Graph

44 Commits

Author SHA1 Message Date
alexander-akait 0992137f40 fix: types 2025-03-11 05:03:41 +03:00
alexander-akait 5a94c06c67 fix: types 2025-03-11 03:28:01 +03:00
alexander.akait e10dcf597e fix: types 2024-10-24 06:02:20 +03:00
alexander.akait 93743d233a refactor: code 2024-08-02 19:32:31 +03:00
alexander.akait 0a68cb16a4 style: improve style of code 2024-08-02 19:32:14 +03:00
alexander.akait de6d4b2f4c style: fix 2024-06-11 16:30:09 +03:00
alexander.akait ab3e93b19e style: fix 2024-06-11 16:09:50 +03:00
alexander.akait 3e3dfd781b fix(types): more 2024-03-17 20:15:44 +03:00
Nitin Kumar 412ae5425e chore: udpate prettier to v3 2024-01-14 07:11:34 +05:30
alexander.akait 7a929533dd fix: types 2023-04-22 04:18:17 +03:00
Ivan Kopeykin 8d1e46e523 handle error/callback result in ResolverCachePlugin with yield 2022-02-22 21:21:39 +03:00
Ivan Kopeykin 93d44847bd Revert "Revert "Merge pull request #15332 from webpack/fix/context-resolve-issue-11335""
This reverts commit dd53923cd0.
2022-02-21 11:58:44 +03:00
Tobias Koppers dd53923cd0 Revert "Merge pull request #15332 from webpack/fix/context-resolve-issue-11335"
This reverts commit 89c92bf0d3, reversing
changes made to a28af55ca1.
2022-02-17 14:43:51 +01:00
Ivan Kopeykin cdfb610bfa fix restoring from cache 2022-02-08 21:40:18 +03:00
Asriel Yu 136b723023 fix callback err type should include null 2021-12-24 20:27:31 +08:00
Kyle Warren f74af75a56 fixed possible collision with addAll es proposal 2021-03-11 10:59:44 -08:00
Tobias Koppers cbcd459d19 fix conflicting real imports and type imports 2020-11-26 10:02:59 +01:00
Tobias Koppers d6e637f33c add "snapshot" configuration to allow to configure how snapshots are created
expose snapshot options for module, resolve, buildDependencies and resolveBuildDependencies
move managedPaths and immutablePaths from config.cache to config.snapshot
add timestamp + hash snapshotting mode
use timestamp + hash mode by default in production and for buildDependencies
2020-08-26 01:27:13 +02:00
Tobias Koppers cee47dc867 Store cache dependencies inside of Snapshot to reduce cache size 2020-08-24 18:16:54 +02:00
Tobias Koppers 6409463d24 only create shared snapshots for 3 or more shared entries
add logging
2020-08-24 18:16:50 +02:00
Tobias Koppers f9fe121fc8 improve and add statistics 2020-08-14 10:51:12 +02:00
Tobias Koppers fd9b399ae9 Create Cache facade to make it easier to use
add missing serializers for classes used in test suite
2020-07-15 11:14:28 +02:00
Tobias Koppers cfb52451d4 handle case when no snapshot can be created in ResolverCachePlugin 2020-07-07 17:38:03 +02:00
Tobias Koppers b9c50fdb09 fix jsdoc documentations 2020-04-28 19:42:58 +02:00
Albus Dumbledore 32d69b2070
Branding guide violation 2020-02-11 21:21:37 +05:30
Tobias Koppers cb543a444c seralization class for resolver cache 2020-01-28 11:35:29 +01:00
Tobias Koppers 8fcd251a7f fix cacheWithContext inversion 2019-11-13 12:18:32 +01:00
Tobias Koppers a8b289bbc9 merge concurrent ResolverCache requests 2019-11-10 21:04:57 +01:00
Tobias Koppers da5ab282e6 fix resolve caching with different resolve options 2019-11-10 21:04:48 +01:00
Tobias Koppers 23f4a53819 respect cacheWithContext in ResolverCachePlugin, default to false 2019-11-10 21:04:46 +01:00
Tobias Koppers 00fcd1dbe8 use LazySet in ResolverCachePlugin 2019-11-01 12:21:55 +01:00
Tobias Koppers 8ba5ff6184 remove temporary workaround for fileDependencies in enhanced-resolve 2019-11-01 12:18:17 +01:00
Tobias Koppers 92e1fc2860 only log ResolverCachePlugin debug message when it has information to provide 2019-11-01 12:17:35 +01:00
Tobias Koppers c21fb4bd58 Add LazySet for file/context/missingDependencies for performance 2019-08-07 16:13:56 +02:00
Tobias Koppers 0750da4dc3 add statistics report to ResolverCachePlugin 2019-07-26 14:03:22 +02:00
Tobias Koppers e2b1ab3258 adding some random types 2019-07-18 14:15:20 +02:00
Tobias Koppers c94073b31c update enhanced-resolve 2019-07-05 00:45:41 +02:00
Tobias Koppers b2e7837288 replace Object.assign with object spread 2019-06-19 13:16:05 +02:00
Tobias Koppers 4492c30ac4 Update watching system to report more timing info to webpack
Add snapshotting feature to FileSystemInfo for better performance
2019-01-09 14:42:54 +01:00
Tobias Koppers 0fd50ddd84 avoid JSON.stringify for better performance 2019-01-08 15:14:30 +01:00
Tobias Koppers ef9e25d8ea report dependencies from resolver to the compilation
refactor NormalModuleFactory
2019-01-08 15:14:25 +01:00
Tobias Koppers f15956f19f The context result is not a context dependency
The resulting directory should be threated as file dependency
as it doesn't depend on the content of the directory
2018-12-21 12:29:49 +01:00
Tobias Koppers 02ba24aca8 add a `cache` option to control the resolve cache 2018-10-31 13:55:28 +01:00
Tobias Koppers 2688b5b17f add resolver cache 2018-10-30 15:43:26 +01:00