Commit Graph

19 Commits

Author SHA1 Message Date
Nitin Kumar 412ae5425e chore: udpate prettier to v3 2024-01-14 07:11:34 +05:30
Tobias Koppers e21b1d46fe precompile schemas for improved startup performance 2021-04-16 16:02:58 +02:00
evilebottnawi 8c19efb7fd chore(deps): update `schema-utils` 2020-10-05 21:58:54 +03:00
Tobias Koppers d558943377 improve runtime requirement 2020-05-27 12:05:10 +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 264a171a54 change Module Federation API to be more similar to exports field 2020-05-20 20:13:14 +02:00
Tobias Koppers e476168fe7 allow to expose and consume an index module from containers 2020-05-19 17:49:20 +02:00
Tobias Koppers 4f194f0748 advanced configs for container plugins
refactor options parsing to allow advanced config options
  automatic scoping has been removed and a scope method is offered instead
move shared schema definitions into a shared schema to allow to sync them
allow to pass multiple modules to a single exposed name
  they are all executed and the last one is exported
allow to pass multiple container locations to remotes
  they are tried in order, falling back to the next one when one fails
allow remotes to be promises as preparation of async externals
2020-05-14 15:50:35 +02:00
Tobias Koppers 24d1ca50b7 generate useful module ids for container-related modules 2020-05-05 21:51:17 +02:00
Tobias Koppers 6b13cafa20 dedupe remote overrides
fix transitive overriding
fix missing overriables for empty overridables
2020-05-04 15:01:50 +02:00
Tobias Koppers 5ad346ec98 validate options for container-related plugins
expose options types via declarations
hide private properties in plugins
move container-related schemas into container folder
2020-04-30 18:07:17 +02:00
Tobias Koppers 0ccb4da411 fix using global library as fallback
test module federation without library provided
test circular dependencies between containers
test multiple containers in a single build
test System.js module federation
improve fakeSystem implementation for circular dependencies and local files
2020-04-14 15:14:53 +02:00
Tobias Koppers d102340a3d cleanup open things 2020-02-26 23:53:44 +01:00
Tobias Koppers 25cd520012 add overridables to ContainerPlugin 2020-02-26 22:38:05 +01:00
Tobias Koppers 28e16e8b2b fix linting 2020-02-26 21:14:49 +01:00
ScriptedAlchemy b3938822c2 adding overrides schema validation 2020-02-26 09:42:23 -08:00
Tobias Koppers 83b7faa67c get rid of hack for remote override module 2020-02-26 17:16:01 +01:00
Tobias Koppers 7fb423704a add overrides feature to ContainerReferencePlugin 2020-02-26 16:42:28 +01:00
Tobias Koppers 8792aa0830 add ContainerReferencePlugin 2020-02-26 16:42:24 +01:00