Commit Graph

10 Commits

Author SHA1 Message Date
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 c3c2b55e3b only use container resp container reference plugin when exposes resp remotes are set 2020-04-29 12:45:53 +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
zackjackson b5b8406a1d test: adding test case wip 2020-04-14 15:08:40 +02:00
Zack Jackson 1658aca151 Update lib/container/ModuleFederationPlugin.js
Co-Authored-By: Tobias Koppers <tobias.koppers@googlemail.com>
2020-04-14 15:08:38 +02:00
Zack Jackson 8fe34f08da Update lib/container/ModuleFederationPlugin.js
Co-Authored-By: Tobias Koppers <tobias.koppers@googlemail.com>
2020-04-14 15:08:37 +02:00
Zack Jackson 41a2a6ef9b Update lib/container/ModuleFederationPlugin.js
Co-Authored-By: Tobias Koppers <tobias.koppers@googlemail.com>
2020-04-14 15:08:35 +02:00
zackjackson 69860e0531 style: linting 2020-04-14 15:08:34 +02:00
Zack Jackson e9db31c469 fix: module federation plugin library should be optional
<!-- Thanks for submitting a pull request! Please provide enough information so that others can review your pull request. -->
<!-- Explain the **motivation** for making this change. What existing problem does the pull request solve? -->
Addressing subtask on the Module Federation Project board
<!-- Try to link to an open issue for more information. -->

https://github.com/webpack/webpack/projects/6#card-33743655
<!-- In addition to that please answer these questions: -->

**What kind of change does this PR introduce?**
Defaulting options from webpack core output config
<!-- E.g. a bugfix, feature, refactoring, build related change, etc… -->
fix/enhancement
**Did you add tests for your changes?**
none required?
<!-- Note that we won't merge your changes if you don't add tests -->

**Does this PR introduce a breaking change?**
no
<!-- If this PR introduces a breaking change, please describe the impact and a migration path for existing applications. -->

**What needs to be documented once your changes are merged?**
ModuleFederationPlugin options and their default states
<!-- List all the information that needs to be added to the documentation after merge -->
<!-- When your changes are merged you will be asked to contribute this to the documentation -->
2020-04-14 15:08:33 +02:00
Tobias Koppers faa7dda8cd Add ModuleFederationPlugin and full test case 2020-02-26 23:53:51 +01:00