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
6e50595cad
split chunks `chunks` filter also affects fallbackCacheGroup
...
add `splitChunks.fallbackCacheGroup.chunks`
2021-11-02 13:23:09 +01:00
Tobias Koppers
3d3c65f50f
add splitChunks.minSizeReduction
2021-10-19 12:35:04 +02:00
Ivan Kopeykin
27411f8f0f
add pure notations to Object calls
...
/*#__PURE__*/ notations should help minimizers to drop unused Object(...) calls
2021-10-17 11:06:14 +03:00
Tobias Koppers
3fa83c6c77
help v8 hashing the bigint
2021-10-12 09:50:13 +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
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
da098d7872
optimization.sideEffects is compatible with cacheUnaffected
2021-10-05 16:54:51 +02:00
Tobias Koppers
91b6972144
add memCache2 for mem caching with module/chunk ids
2021-10-05 15:08:18 +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
b50d033960
allow to mangle exports of module externals
2021-09-03 13:47:09 +02:00
Daniel Diekmeier
093a9bed16
Fix spelling of `dependOn`
...
The help text suggests using `dependsOn`, but the `s` is a typo.
The correct property is called `dependOn`: https://webpack.js.org/concepts/entry-points/#entrydescription-object
2021-08-24 16:15:17 +02:00
Tobias Koppers
c76be4d738
make some things context-independent
...
* ConcatenatedModule.identifier()
* NormalModule source urls
fixes #14014
2021-08-19 14:57:39 +02:00
Tobias Koppers
0605b887c9
fix indeterminism with splitChunks.maxSize
2021-08-06 11:55:00 +02:00
Tobias Koppers
3f7d80d823
fix concatenation of module externals
...
#2933
2021-07-06 14:07:45 +02:00
Tobias Koppers
94852e07f7
allow to disable runtime chunk per entry via `runtime: false`
...
and also via `ModuleFederationPlugin`.`runtime`
2021-07-05 11:32:45 +02:00
Tobias Koppers
291321c77a
fix memory leaks
2021-06-28 09:58:03 +02:00
Tobias Koppers
4e608c8723
assign class property keys to the correct top level symbol
2021-06-21 09:48:14 +02:00
Tobias Koppers
4cf272b824
add workaround for broken eslint-scope package regarding class field support
2021-05-19 16:21:54 +02:00
Tobias Koppers
b0fa9ccada
pretty files
2021-05-11 09:31:46 +02:00
Tobias Koppers
94facd387d
add support for class fields
2021-04-27 10:28:13 +02:00
Tobias Koppers
ee24b22073
Merge pull request #13169 from janlent1/master
...
Fix deprecation message for LimitChunkCountPlugin
2021-04-19 10:34:15 +02:00
Jan Lentmaier
d88605dcbd
Fix deprecation message for LimitChunkCountPlugin
...
Just a quick test whether the issue can easily be solved
by using the chunkGraph instead of the old methods.
2021-04-18 15:54:34 +02:00
Tobias Koppers
e21b1d46fe
precompile schemas for improved startup performance
2021-04-16 16:02:58 +02:00
Tobias Koppers
18967078cb
cleanup modules after compilation to avoid leaking references when they are cached
2021-03-15 11:23:54 +01:00
Tobias Koppers
70376ad4ec
fix problem where emitting an asset twice affects the hash
2021-03-01 09:51:46 +01:00
Tobias Koppers
1ff55df486
fixes #12769
2021-02-24 12:54:17 +01:00
Tobias Koppers
f96194e0f6
storing ConcatenatedModule doesn't make sense, since it has no cachable info
...
instead the code geneneration cache will cover everything
2021-02-23 15:36:52 +01:00
Tobias Koppers
5c42b918b4
further optimizations
2021-02-23 12:03:26 +01:00
Tobias Koppers
365a362522
performance optimization
...
add statistics to ModuleConcatenationPlugin
2021-02-23 10:59:59 +01:00
Tobias Koppers
972b7f9bd1
Merge pull request #12743 from webpack/bugfix/logger-name
...
fix logger name
2021-02-22 15:43:41 +01:00
Tobias Koppers
a90d2b20f5
fix logger name
2021-02-22 13:41:21 +01:00
Tobias Koppers
2bfbf81b59
Merge pull request #12745 from webpack/perf/module-concatenation
...
improve performance of finding modules for concatenation
2021-02-22 13:39:29 +01:00
Tobias Koppers
1c0b88c72f
fix bug where ExportInfo uses inactive connections to find the target of an export
...
This happens when multiple exports * export the same name but the first one is discovered later in the process
In this case the ExportInfo contains both connections, but the second one is inactive.
2021-02-22 12:47:34 +01:00
Tobias Koppers
a084baac2f
improve performance of finding modules for concatenation
2021-02-22 10:52:39 +01:00
Patrik Åkerstrand
a62c350804
simplify branching logic
2021-02-19 19:32:23 +01:00
Patrik Åkerstrand
398fdef5c8
Fix module concatenation renaming bug
...
Fixes a case where variable renaming due to module concatenation caused
the generated code to look up a different property than the source code, when
combined with a default value for the property
Closes #12712
2021-02-19 12:08:21 +01:00
Tobias Koppers
902aecd26c
fix #12669
2021-02-14 19:43:39 +01:00
Tobias Koppers
9f3950e571
add support for libraries combined with iife: false
...
fix missing runtime requirement for system.js context
fix inlining of modules when conflicting symbols are defined on top-level
2021-02-11 11:19:24 +01:00
Tobias Koppers
a936d7b3a0
avoid unnecessary conditions
2021-01-27 13:37:34 +01:00
Tobias Koppers
3cf2f45290
remove unused method
2021-01-25 20:30:46 +01:00
Tobias Koppers
8d2c2f44c5
Merge pull request #12453 from webpack/bugfix/reuse-vendor-entry
...
reuseExistingChunk is able to reuse an entry chunk when it's the only selected chunk
2021-01-19 19:23:38 +01:00
Tobias Koppers
2b3489d136
reuseExistingChunk is able to reuse an entry chunk when it's the only selected chunk
2021-01-19 17:08:58 +01:00
Tobias Koppers
4ec418c8ee
allow inner graph shaking for new URL()
...
fixes #11818
2021-01-19 13:31:55 +01:00
Tobias Koppers
38c7cf2d85
fix caching crash in ConcatenatedModule
...
Ensure that no warnings/errors occur during testing
add serialization for some missing warnings
2021-01-08 15:44:26 +01:00
Tobias Koppers
35c7801b5e
fix bug where cacheGroup index was inverted
2021-01-07 21:47:08 +01:00
Tobias Koppers
3554793b4b
fix bug where module size is added multiple times to the split chunk info
...
fixes #12307
2021-01-07 16:51:08 +01:00