alexander-akait
e6ed2acecf
fix: respect the `cause` of any errors and the `errors` of `AggregateError` in stats
2025-04-23 00:36:13 +03:00
Alexander Akait
4d6d3800b4
fix: types
2025-04-16 17:04:11 +03:00
Alexander Akait
b8b90d6ee9
fix: less `any` types ( #19382 )
2025-04-04 16:38:51 +03:00
alexander-akait
7e5752d7fe
chore: fix `any` types
2025-03-27 03:07:25 +03:00
alexander-akait
a1df00d339
refactor: improve eslint configuration and better types
2025-03-12 04:56:14 +03:00
alexander-akait
c1c085d74a
fix: `strict` types
2025-03-11 17:20:50 +03:00
alexander.akait
6589de0b63
fix: types
2024-10-24 21:13:59 +03:00
alexander.akait
0d5476df4f
fix: types
2024-10-24 17:09:39 +03:00
alexander.akait
e60cff554a
fix: types
2024-10-02 00:29:48 +03:00
alexander.akait
ff9e19809a
fix: types
2024-08-07 19:14:54 +03:00
alexander.akait
adf2a6b7c6
fix: a lot of types
2024-08-06 06:08:48 +03:00
alexander.akait
93743d233a
refactor: code
2024-08-02 19:32:31 +03:00
alexander.akait
40151be78e
refactor: improve code
2024-08-02 19:32:29 +03:00
alexander.akait
0b745968a2
style: improve style of code
2024-08-02 19:32:14 +03:00
alexander.akait
ac0bd21801
style: improve style of code
2024-08-02 19:32:14 +03:00
alexander.akait
5725254415
style: improve style of code
2024-08-02 19:32:14 +03:00
alexander.akait
a592b62686
style: improve style of code
2024-08-02 19:32:14 +03:00
alexander.akait
ab3e93b19e
style: fix
2024-06-11 16:09:50 +03:00
alexander.akait
81f2e865a6
chore: update eslint to v9
2024-06-11 15:32:02 +03:00
Ivan Kopeykin
3a498e7a39
fix namings
2024-05-01 18:10:57 +03:00
Ivan Kopeykin
e11fb128a2
add platform target properties to compiler.
...
add 2 methods `compiler.getPlatformTargetInfo` and `compiler.setPlatformTargetInfo` to allow get and set platform target properties. by default resolve this properties from target option.
2024-05-01 17:28:13 +03:00
alexander.akait
3e3dfd781b
fix(types): more
2024-03-17 20:15:44 +03:00
alexander.akait
32717aae42
fix: all filesystem types
2024-03-11 19:33:52 +03:00
alexander.akait
caea8131b3
fix: types
2024-02-22 17:36:36 +03:00
alexander.akait
6ab9bdaa73
fix: types
2024-02-22 17:20:17 +03:00
alexander.akait
a1f46a9ac3
fix: types
2024-02-21 17:55:02 +03:00
alexander.akait
6cd0ddbf26
fix: types
2024-02-21 17:05:29 +03:00
Alexander Akait
39bbfbfbb1
feat: support for unmanaged paths
2024-01-04 16:07:29 +03:00
Joe Boyle
ec80d13617
clean up modules as well
2023-12-07 21:45:04 -05:00
Joe Boyle
0f517fd125
Clean up child compilation chunk graph
...
This commit addresses https://github.com/webpack/webpack/issues/17851 ,
cleaning up child compilation chunk graph which includes references
to the compiler and parent compiler, causing a memory leak.
2023-12-06 23:08:05 -05:00
Sayan751
7d8799ac4b
added unmanagedPaths to snapshot options
2023-10-04 23:28:11 +02:00
alexander.akait
cc734af66e
refactor(types): more
2023-06-22 02:45:07 +03:00
alexander.akait
27cae68bda
feat: allow to use `falsy` loaders and plugins
2023-06-14 18:25:31 +03:00
alexander.akait
e0c7b6c48f
refactor: errors and lazy loading
2023-06-01 22:55:49 +03:00
alexander.akait
60e5e13eb8
refactor: more types
2023-05-25 01:41:32 +03:00
Nitin Kumar
83d049a1bd
fix: handle callback correctly in the `readRecords` compiler hook
2023-04-08 09:42:16 +05:30
Dmitry Semigradsky
ba95d08875
chore(deps): replace `json-parse-better-errors` to `json-parse-even-better-errors`
2022-04-16 15:01:53 +03:00
Ivan Kopeykin
3929e688a4
fix discussions
2022-03-28 15:37:52 +03:00
Ivan Kopeykin
449d1786c2
catch error in runAsChild callback
2022-03-23 18:41:16 +03:00
Tobias Speicher
8f56fcba72
Replace deprecated String.prototype.substr()
...
String.prototype.substr() is deprecated (see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr ) so we replace it with slice() which works similarily but isn't deprecated.
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
2022-03-13 22:54:18 +01:00
Tobias Koppers
8828dfa394
add experimental SyncModuleIdsPlugin
2022-01-20 13:37:28 +01:00
Asriel Yu
136b723023
fix callback err type should include null
2021-12-24 20:27:31 +08:00
Tobias Koppers
7afcc5d4ff
allow to disable some deprecations
...
add `experiments.backCompat: false` (default in `experiments.futureDefaults`)
remove unused `experiments.asset`
enable `experiments.topLevelAwait` and `experiments.asyncWebAssembly` by default in `experiments.futureDefaults`
2021-11-05 09:54:51 +01: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
f05246efcb
use buildInfo instead of hash for cacheUnaffected
2021-10-05 15:09:39 +02:00
Tobias Koppers
91b6972144
add memCache2 for mem caching with module/chunk ids
2021-10-05 15:08:18 +02:00
Tobias Koppers
61569e26b9
compare references modules when restoring mem cache
2021-09-29 09:09:42 +02:00
Tobias Koppers
931d14615f
move unsafe cache from NormalModuleFactory to Compilation to skip more processing
2021-09-28 11:37:29 +02:00
Tobias Koppers
2393892434
assign each module it's own mem cache
...
instead of receiving a per module node per access
2021-09-27 20:37:30 +02:00
Tobias Koppers
3b48429eb5
add MemCache for memory caching per module which is invalidated when module or any referenced modules changes
...
add `experiments.cacheUnaffected`
add `cache.cacheUnaffected` (type: memory) resp `cache.memoryCacheUnaffected` (type: filesystem)
2021-09-24 15:23:29 +02:00