alexander.akait
4b62748f37
fix(types): context module types
2024-03-25 19:05:56 +03:00
Viktor Szépe
10014b85d4
Fix typos
2024-02-19 16:46:07 +00:00
Nitin Kumar
412ae5425e
chore: udpate prettier to v3
2024-01-14 07:11:34 +05:30
alexander.akait
f11815235d
fix: don't warn about dynamic import for build dependencies
2024-01-05 18:18:42 +03:00
Sayan751
2972f97eb6
feat: support for un-managed snapshot path
2023-09-27 22:17:11 +02:00
alexander.akait
158e0441e7
refactor(types): more
2023-06-22 04:08:40 +03:00
alexander.akait
3092f7cb20
refactor(types): more
2023-06-22 03:59:10 +03:00
alexander.akait
cc734af66e
refactor(types): more
2023-06-22 02:45:07 +03:00
Nitin Kumar
57ecbaba7d
fix: update FileSystemInfo types and fix lint
2023-05-10 08:21:18 +05:30
alexander.akait
02590bfdc7
chore: improve types
2023-04-21 19:22:33 +03:00
Brandon Cheng
751e123e95
Use stable identities for Snapshot iterables
2022-07-01 12:57:22 -04:00
Magin
b79500cdef
fix: fix lint
2022-06-02 18:06:41 +08:00
Magin
e4f61cf1e3
fix: delete useless code
2022-06-02 17:26:11 +08:00
Magin
def405787d
fix: compat require absolute dir on Windows
2022-06-02 17:24:51 +08:00
Tobias Koppers
ab40959467
support node.js builtin modules in esm build dependencies
2022-04-01 14:52:53 +02:00
Ivan Kopeykin
8df4d5c7fb
support node: prefix in esm build dependencies
2022-03-23 11:27:37 +03:00
Asriel Yu
96da766002
Merge branch 'webpack:main' into fix-callback-err-type-should-include-null
2022-01-14 20:07:21 +08:00
Asriel Yu
136b723023
fix callback err type should include null
2021-12-24 20:27:31 +08:00
Tobias Koppers
905e786eb2
avoid reporting non-existant package.jsons as dependencies
2021-12-06 16:09:22 +01:00
Tobias Koppers
00109744f7
fix double compilation when snapshotting managedPaths
2021-11-19 17:24:10 +01:00
Tobias Koppers
cae22d1888
fallback to normal snapshotting when managed path optimization fails
2021-11-15 17:08:48 +01:00
Tobias Koppers
98ea582bf0
watch package.json for managed directories
2021-11-15 17:06:04 +01:00
Tobias Koppers
4edd0438cf
fix using single quotes with esm files
2021-11-09 12:24:53 +01:00
Tobias Koppers
217a0be903
fix managed paths regexp handling
2021-10-20 10:41:48 +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
Tobias Koppers
e26ac7540a
handle non-existing directories
...
fixes #14441
2021-10-13 10:51:36 +02:00
Tobias Koppers
4a8bf4c084
allow to configure all hash functions used
...
fix default hash function for HttpUriPlugin to sha512
2021-09-23 14:55:13 +02:00
Tobias Koppers
96aca0e4d7
avoid allocations in SnapshotOptimization
2021-09-08 21:25:40 +02:00
Tobias Koppers
ca2179f0c2
fix error and callback handling
2021-08-26 16:03:31 +02:00
Tobias Koppers
4195f21c48
Revert "fix: safeguard agains `undefined` entry"
...
This reverts commit 99585d88d0
.
2021-08-26 16:03:27 +02:00
Igor Randjelovic
99585d88d0
fix: safeguard agains `undefined` entry
2021-08-25 21:29:40 +02:00
Tobias Koppers
0088d5565c
fix crash when trying to snapshot not existing directory
2021-08-19 13:17:18 +02:00
Tobias Koppers
9577b88d4b
track and resolve symlinks when reading context timestamps/hashes
...
refactor context snapshotting for abstraction purposes
add (symlink) unit test cases for FileSystemInfo snapshotting
2021-08-18 14:50:23 +02:00
Tobias Koppers
5044d62bb2
fix clear
2021-07-16 13:07:56 +02:00
Tobias Koppers
8dd38f5c8a
refactor
2021-07-16 13:05:18 +02:00
Mark Molinaro
41f02f947a
perf: let Compiler worry about and manage file and context timestamps
2021-07-13 22:13:40 +00:00
Tobias Koppers
b0fa9ccada
pretty files
2021-05-11 09:31:46 +02:00
Tobias Koppers
adc10a5636
make ESM tracking info message less verbose
2021-04-30 15:07:17 +02:00
Tobias Koppers
85fe6ac4f4
Merge pull request #13157 from scamden/pr-hash-bug
...
fix(resolve): allows filesysteminfo to resolve files that have #'s
2021-04-19 19:42:59 +02:00
Tobias Koppers
0197867237
use paths without fragment and query
2021-04-19 12:13:47 +02:00
Sterling Camden
1e396e8296
fix(resolve): allows filesysteminfo to resolve files that have #'s escaped with \0
...
i don't understand the reasoning behind @sokra's escaping in enhanced resolve well enough to know if
this makes sense or is basically just undoing the hard work he did to distinguish these characters
from fragments. maybe he can chime in if this makes no sense to do
2021-04-15 11:43:34 -07:00
Tobias Koppers
c7b1471251
cheaper getIterator
2021-04-15 15:17:52 +02:00
Tobias Koppers
e2fb89eed1
improve resolving of build dependencies when `exports` field is used
2021-04-06 13:58:36 +02:00
Tobias Koppers
8f3a16a49a
improve handling of optional build dependencies
2021-04-06 11:28:41 +02:00
Tobias Koppers
3b8d26df1e
Merge pull request #12990 from webpack/bugfix/memory-leak-in-ic
...
memory usage improvements, add GC support for memory cache, persistent cache only mode
2021-04-01 18:14:16 +02:00
Tobias Koppers
8074127b98
avoid leaking memory after the compiler has been closed
...
clear cache on shutdown
2021-04-01 16:59:48 +02:00
Tobias Koppers
cb94f3cbea
improve logging for resolving build dependencies
2021-03-29 09:17:24 +02:00
Tobias Koppers
f76ffc0c01
improve resolveBuildDependencies performance
2021-01-15 10:50:02 +01:00
Tobias Koppers
89aabf7696
add experimental ESM tracking based on es-module-lexer
...
assume that other files have no dependencies
2021-01-13 23:56:29 +01:00
Tobias Koppers
c453624a57
store build deps correctly in cache
...
improve debug logging for snapshotting
2021-01-13 23:54:15 +01:00