Commit Graph

26 Commits

Author SHA1 Message Date
Alexander Akait 99c36fab8e
refactor: remove unused types (#19894) 2025-09-10 14:38:19 +03:00
Alexander Akait 02a1d22db8
refactor: use `eslint-config-webpack` (#19645)
Github Actions / lint (push) Waiting to run Details
Github Actions / validate-legacy-node (push) Waiting to run Details
Github Actions / benchmark (1/4) (push) Waiting to run Details
Github Actions / benchmark (2/4) (push) Waiting to run Details
Github Actions / benchmark (3/4) (push) Waiting to run Details
Github Actions / benchmark (4/4) (push) Waiting to run Details
Github Actions / basic (push) Waiting to run Details
Github Actions / unit (push) Waiting to run Details
Github Actions / integration (10.x, macos-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (10.x, macos-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (10.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (10.x, ubuntu-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (10.x, windows-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (10.x, windows-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (12.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (14.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (16.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (18.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (20.x, macos-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (20.x, macos-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (20.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (20.x, ubuntu-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (20.x, windows-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (20.x, windows-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (22.x, macos-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (22.x, macos-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (22.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (22.x, ubuntu-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (22.x, windows-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (22.x, windows-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (24.x, macos-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (24.x, macos-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (24.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (24.x, ubuntu-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (24.x, windows-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (24.x, windows-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (lts/*, ubuntu-latest, a, 1) (push) Blocked by required conditions Details
Github Actions / integration (lts/*, ubuntu-latest, b, 1) (push) Blocked by required conditions Details
2025-07-02 15:10:54 +03:00
Alexander Akait 52dc1936a9
chore: refactor plugin name (#19456) 2025-04-23 15:03:37 +03:00
alexander.akait e11f2eaab4 fix: types 2024-10-24 00:07:47 +03:00
ScriptedAlchemy eab8815c05 chore: apply hoist plugin 2024-10-14 15:07:57 -07:00
ScriptedAlchemy d0bfad35ae fix: rename hooks to be correct 2024-10-09 13:13:04 -07:00
Zack Jackson 07670cf9e8 Update ModuleFederationPlugin.js 2024-10-09 13:13:04 -07:00
ScriptedAlchemy 11f5b59ab2 fix: Container Reference Hoisting 2024-10-09 13:13:03 -07:00
Evan Dower 1492735309 Pass shareScope through to ContainerPlugin & ContainerReferencePlugin 2022-07-08 22:51:16 -07: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 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 07d863e14c implement enabledChunkLoadingTypes approach
allow chunkLoading per entry
allow custom library/chunkLoading types
2020-08-28 10:59:37 +02:00
Tobias Koppers 3df380e2d7 add script external
change defaults of ModuleFederationPlugin to var library and script remoteType
allow using empty entry in config
2020-06-04 03:18:07 +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 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 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