Tobias Koppers
1266d76956
allow to merge multiple hmr updates which calling hot.check while previous update is ready
2021-10-25 09:02:12 +02:00
Tobias Koppers
3d3c65f50f
add splitChunks.minSizeReduction
2021-10-19 12:35:04 +02:00
Tobias Koppers
ae52a74802
improve buildHttp
...
allow multiple configurations to write to the same lockfile
add allowedUris for allowlisting
add schema validation
2021-10-19 09:21:05 +02:00
Tobias Koppers
576c260470
Merge pull request #14513 from webpack/feature/module-phases-hooks
...
add hooks during module build
2021-10-19 00:22:20 +02:00
Tobias Koppers
8f341ebaf8
add hooks during module build
2021-10-18 23:35:55 +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
1ee6f808d3
Revert "track chunk combinations for modules"
...
This reverts commit 0e13c7dea4
.
2021-10-08 15:08:48 +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
Tobias Koppers
508e8d50f2
expand readResource hook to cover normal file reading
2021-10-07 10:28:44 +02:00
Tobias Koppers
a6fc14b667
update types
2021-10-06 15:39:21 +02:00
Tobias Koppers
1e5abcc51b
improve extractBlockModules
2021-10-06 15:39:21 +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
a0a5f28510
allow ExternalModules to be unsafe cached
2021-10-01 16:27:20 +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
c33a64bb23
enable to use mem cache for dependency caching
2021-09-27 20:41:24 +02:00
Tobias Koppers
16fc4bb7af
allow dependencies to select level of propagation
2021-09-27 20:38:08 +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
Tobias Koppers
aa83e463c5
Merge pull request #14291 from webpack/feature/eval-bailouzt
...
avoid bailout of unused eval
2021-09-24 10:13:05 +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
18ee3fb1a9
avoid bailout of unused eval
...
expose InnerGraph and runtime utils
2021-09-20 17:40:51 +02:00
Tobias Koppers
562f17a8c0
Merge pull request #14212 from webpack/fix-14210
...
add options to warn on using Node.js features
2021-09-14 14:03:05 +02:00
Ivan Kopeykin
5592f6616f
add experiments.futureDefaults
...
futureDefaults applies next major defaults
adds node.global=warn
node.__filename=warn-mock
node.__dirname=warn-mock
2021-09-14 11:29:57 +03:00
Ivan Kopeykin
8068923063
fix IgnorePlugin schema
2021-09-11 13:55:24 +03:00
Tobias Koppers
a513b1381a
Merge pull request #14118 from webpack/bugfix/multiple-module-externals
...
fix null module externals
2021-09-03 16:46:55 +02:00
Tobias Koppers
4e8a621bfa
fix null module externals
2021-09-03 13:47:09 +02:00
Tobias Koppers
60408e1136
add importModule to loader context by default
...
always enable experiments.executeModule and remove it
2021-09-02 16:27:39 +02:00
Tobias Koppers
b16568a253
upgrade filename runtime module to full hash module when referencing a full hash chunk
2021-09-02 10:29:59 +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
08ea1464d5
keep state of chunk loading during hmr updates
...
ignore duplicate chunk loads
2021-08-16 13:50:43 +02:00
Tobias Koppers
1f0bdf7220
Merge pull request #13961 from webpack/feature/hashbang
...
handle hashbangs in javascript files
2021-08-10 17:32:43 +02:00
Tobias Koppers
720aa43bd3
handle hashbangs in javascript files
...
fixes https://github.com/vercel/next.js/issues/27806
2021-08-10 11:34:06 +02:00
chenxsan
ce7d9e572c
fix a typo
2021-08-07 11:39:51 +08:00
Tobias Koppers
9bf6797416
fix resolving context for redirects
2021-08-05 21:10:39 +02:00
Tobias Koppers
30ebedd4dd
fix handling of new URL() in remote resources
2021-08-05 17:37:37 +02:00
Tobias Koppers
b6609a4f6b
add `experiments.buildHttp`
...
allows to build remote resources
stores remote resources in a lockfile
2021-08-05 15:47:18 +02:00
Sven Sauleau
6c50c81350
Revert "Revert "Merge pull request #12278 from xtuc/sven/import-assertions""
...
This reverts commit 61946b7c46
.
2021-07-24 23:28:30 +01:00
Tobias Koppers
0bd1e789d4
generate "use strict" only when really needed
2021-07-22 16:09:09 +02:00
Tobias Koppers
d3f8e16810
update webpack-sources for performance problem in hashing
...
add `stats.reasonsSpace` and `stats.groupReasonsByOrigin` to control large set of reasons
`detailed` preset limites all spaces to 1000 by default
fixes #13825
2021-07-20 13:29:25 +02:00
Tobias Koppers
61946b7c46
Revert "Merge pull request #12278 from xtuc/sven/import-assertions"
...
This reverts commit df02bc6c0a
, reversing
changes made to a6f341e243
.
2021-07-16 21:54:21 +02:00
Tobias Koppers
df02bc6c0a
Merge pull request #12278 from xtuc/sven/import-assertions
...
parse import assertions
2021-07-16 17:07:28 +02:00
Tobias Koppers
a6f341e243
Merge pull request #13555 from markjm/markjm/dont-copy-maps
2021-07-16 16:58:25 +02:00
Tobias Koppers
bb6c596272
improve schema and description
2021-07-16 13:17:49 +02:00
Tobias Koppers
7f22e4721f
match on asserts
...
change Map to Record
improve test case
2021-07-16 13:17:20 +02:00
Sven Sauleau
b166f46f2c
parse import assertions
2021-07-16 13:14:54 +02:00