alexander.akait
be1d35eb02
fix(types): more
2024-03-18 18:50:56 +03:00
Nitin Kumar
412ae5425e
chore: udpate prettier to v3
2024-01-14 07:11:34 +05:30
Alexander Akait
34c3fba92c
fix: consume shared runtime module logic
2024-01-04 16:05:31 +03:00
alexander.akait
4809421990
refactor(types): more
2023-06-21 19:00:24 +03:00
alexander.akait
9894226149
refactor(types): more
2023-06-14 19:46:53 +03:00
Sam Brett
f5d368efa6
feat: ignoreBrowserWarnings option to ignore browser console warnings
2023-04-20 10:51:37 -07:00
AndreyGladkov
fc3746e741
Add a check to start the initialization of the shared module
2023-01-19 16:11:09 +03:00
AndreyGladkov
dd7d0ca863
Fix consumes function
2023-01-09 18:42:32 +03:00
Ben Harris
bbe72b3eae
Added testing for new singleton logic (and caught a typo in the process!)
2021-12-02 11:44:23 -05:00
Ben Harris
92e373028d
Proposed fix to module federation to stop ignoring the singleton flag when requiredVersion is false
2021-12-01 21:07:29 -05:00
Tobias Koppers
6fbcd415d4
improve runtime code
2021-11-25 09:57:48 +01:00
tanhauhau
0e2337dfb7
feat: show which singleton loaded version
2021-11-21 10:59:30 +08:00
Aleen
ab34ffb2ae
Revert to use ['catch'] directly
2021-11-02 12:52:00 +08:00
Aleen
4c50786098
use propertyAccess to generate .catch code
2021-11-02 12:51:59 +08:00
Tobias Koppers
d808d04d26
attach the chunk graph to RuntimeModules
2021-04-14 12:26:35 +02:00
Seth Benjamin
9fa45137d8
fix: use runtime globals in shared plugin
...
- Fixes a bug that caused HMR to fail when using Module Federation (__webpack_modules__ is not defined).
2021-03-07 16:03:05 -08:00
Tobias Koppers
48571c663f
add selective runtime requirements from startup logic which doesn't prevent inlining modules
...
avoid using startup function for grab data from preexecuted chunks
2020-12-11 14:36:48 +01:00
Tobias Koppers
a8542d3317
fix circular references between containers and modules in containers
2020-09-17 10:44:52 +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
2689d026b1
refactor semver logic to be internal
...
share scope uses string version instead of parsed one
2020-07-02 16:09:57 +02:00
Tobias Koppers
3fcd5f9bc5
add full Semantic Versioning for Shared Modules
...
change storage format in the share scope
choose shared module deterministic from the same origin
remove array syntax from version and requiredVersion in schema
2020-07-02 16:09:39 +02:00
Tobias Koppers
1879e46e04
fix sharing test cases
2020-05-27 16:02:41 +02:00
Tobias Koppers
6f5d229661
add singleton shared modules
2020-05-27 15:10:57 +02:00
Tobias Koppers
d5df7a39fd
allow to have multiple version in share scope
2020-05-27 14:42:05 +02:00
Tobias Koppers
90b8056b1d
use long property names in share scope
2020-05-27 11:51:25 +02:00
Tobias Koppers
ab0ea4a4ce
use long property names in share scope
2020-05-26 21:51:14 +02:00
Tobias Koppers
edf03440ba
add SharePlugin
...
let ModuleFederationPlugin use the SharePlugin
update container test cases to new behavior
2020-05-26 17:11:21 +02:00
Tobias Koppers
2fc44c2343
add share plugin
2020-05-26 00:46:09 +02:00
Tobias Koppers
1b3246361b
add consume shared module plugin
2020-05-25 23:14:19 +02:00