Tobias Koppers
d6d966701d
don't thread hidden files in node_modules as managed items
2019-09-08 16:23:25 +02:00
Tobias Koppers
fe62f9eabb
update hash with empty string for missing files
2019-09-08 16:23:10 +02:00
Tobias Koppers
64dff5c6d4
add missing error handler for context hash and timestamp
2019-09-08 16:22:58 +02:00
Tobias Koppers
1ce68517ca
for managed items without package.json snapshot error value
2019-09-08 16:22:13 +02:00
Tobias Koppers
d3cf3928f5
Persistent Caching fixes
...
improve error handling in pack file cache strategy
support context timestamp snapshot
make ContextModule serializable
fix snapshotting bug of managed paths
use managed and immutable path info for context hashes and timestamps
enabled managedPaths for node_modules during cache tests
2019-09-04 16:33:54 +02:00
Tobias Koppers
41de897916
Best effort to capture resolving of file build dependencies
2019-08-20 14:50:14 +02:00
Tobias Koppers
cb4c02ebe1
store snapshot of resolving dependencies and re-resolve when needed
...
to be able to invalidate cache when PnP build dependencies change
cacheDirectory defaults to .pnp/.cache/webpack when PnP is used
fallback cacheDirectory is now .cache/webpack instead of tmpdir
2019-08-20 14:50:09 +02:00
Tobias Koppers
a2caa36b8e
add immutablePaths next to managedPaths for paths in the yarn cache
...
for PnP support
2019-08-20 14:50:07 +02:00
Tobias Koppers
9a9d79f509
fix crash when maps are merged
2019-08-13 18:48:15 +02:00
Tobias Koppers
31b912f634
fix getManagedItem and test cases
2019-08-13 17:58:51 +02:00
Tobias Koppers
db265cbff8
check managedItems in snapshot
2019-08-13 17:26:54 +02:00
Tobias Koppers
fe8fd981ee
Use numbers instead of strings as enum
...
add types
2019-08-13 17:21:19 +02:00
Tobias Koppers
ef3a68f61e
avoid a string allocation in getManagedItem
2019-08-13 17:15:47 +02:00
Tobias Koppers
e5cecdad23
store build dependencies snapshot in pack
...
add snapshot shortcut for package manager managed paths
add cache.managedPaths
2019-08-13 17:02:37 +02:00
Tobias Koppers
e2b1ab3258
adding some random types
2019-07-18 14:15:20 +02:00
Tobias Koppers
e4d1a45c8d
Use FileSystemInfo.createSnapshot for NormalModules too
2019-01-09 14:42:57 +01: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
ef9e25d8ea
report dependencies from resolver to the compilation
...
refactor NormalModuleFactory
2019-01-08 15:14:25 +01:00
Tobias Koppers
ae72fe3724
fixes timestamp transfer from watcher
2018-09-27 21:28:07 +02:00
Tobias Koppers
7340fbb547
refactor Cache
...
add a new hookable Cache class
removed CachePlugin
add MemoryCachePlugin
refactor timestamps
create FileSystemInfo class
2018-09-27 13:20:19 +02:00