Commit Graph

8 Commits

Author SHA1 Message Date
alexander.akait ac0bd21801 style: improve style of code 2024-08-02 19:32:14 +03:00
alexander.akait 4809421990 refactor(types): more 2023-06-21 19:00:24 +03:00
Sean Larkin 4fda34a744 refactor(plugins): Reduce memory footprint in string usages for flag plugins 2023-03-31 08:18:47 -07:00
Tobias Koppers 06fcc0ad12 flag modules in dlls without entryOnly with side-effects to keep them 2020-12-15 16:38:20 +01:00
Tobias Koppers a4f17775b1 fix dependOn behavior with runtimes, fix runtime passing by entry 2020-07-30 11:18:09 +02:00
Tobias Koppers e16bdfda6c refactor used exports analysis, hashing, code generation, optimizations
to keep track of runtimes, used exports depending on runtime

modules can have different hashes and generated code depending on runtime
chunks are only considered as equal for MergeDuplicateChunks and SplitChunks when exports used in contained modules are equal
added `optimization.usedExports: "global"` to opt-out from used exports analysis per runtime
added `splitChunks.usedExports` and `splitChunks.cacheGroups[x].usedExports` to enable/disable used exports comparing for modules
`splitChunks.usedExports` defaults to `true` in production
2020-07-27 22:40:44 +02:00
Tobias Koppers b9c50fdb09 fix jsdoc documentations 2020-04-28 19:42:58 +02:00
Tobias Koppers 96620a4651 flag all modules as used for Dll
fix problem that modules were removed before they were flagged as used

fixes #10189
2020-01-02 17:37:47 +01:00