Tobias Koppers
102014bf54
fix target expression
...
fix externals
add test case
2022-01-10 14:33:34 +01:00
Tobias Koppers
ae52a74802
improve buildHttp
...
allow multiple configurations to write to the same lockfile
add allowedUris for allowlisting
add schema validation
2021-10-19 09:21:05 +02:00
Tobias Koppers
4a8bf4c084
allow to configure all hash functions used
...
fix default hash function for HttpUriPlugin to sha512
2021-09-23 14:55:13 +02:00
Ivan Kopeykin
8068923063
fix IgnorePlugin schema
2021-09-11 13:55:24 +03:00
chenxsan
ce7d9e572c
fix a typo
2021-08-07 11:39:51 +08:00
Tobias Koppers
b6609a4f6b
add `experiments.buildHttp`
...
allows to build remote resources
stores remote resources in a lockfile
2021-08-05 15:47:18 +02: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
chenxsan
02173d571a
add node-commonjs to ExternalsType
2021-06-29 23:11:04 +08:00
Art Chen
cd0310f6d6
feat: support custom chunk name in container expose options
...
Module federation generates async chunks for exposed modules, which by
default named after the internal module id. This change allows users to
assign a custom name so that the file can be statically referenced.
2021-01-28 09:00:05 -08:00
Tobias Koppers
1e988a109b
Merge branch 'master' into feat/issue_11571
2021-01-18 16:54:26 +01:00
Tobias Koppers
aac7f2e619
allow to configure parsers and generators globally
...
get plugin schemas from root schema
normalize module.parser/generator
add test case
2021-01-05 12:08:30 +01:00
Tobias Koppers
6762521773
upgrade tooling for improved array types
...
fixes #11801
fixes #11850
2020-10-28 20:51:08 +01:00
xiaoxiaojx
f25b09f783
feat: libraryTarget add assign-properties
2020-10-11 04:49:40 +08: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
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
ad56d8abb1
improve handling of relative/absolute requests in the ProvideSharedPlugin
2020-06-15 16:20:34 +02:00
Tobias Koppers
1c42f71250
allow to provide and consume multiple versions of shared modules
2020-06-13 14:45:37 +02:00
Tobias Koppers
42e14d6a42
provide shared based on used modules and used version
2020-06-10 16:30:08 +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
4b61de7b14
strictVersion defaults to false for singleton modules
2020-05-27 15:16:44 +02:00
Tobias Koppers
6f5d229661
add singleton shared modules
2020-05-27 15:10:57 +02:00
Tobias Koppers
bb30ea2216
automatically determine version of shared module from package.json
2020-05-27 11:53:59 +02:00
Tobias Koppers
e78a76b2e0
remove all overrides and overridables related code
2020-05-26 17:26:28 +02:00
Tobias Koppers
32217e95fb
add missing descriptions
2020-05-26 17:17:44 +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
Tobias Koppers
83cdba368f
add provide shared module plugin
2020-05-25 10:50:37 +02:00
Tobias Koppers
a468cbbd2e
add provide shared module plugin
2020-05-23 16:08:51 +02:00
Tobias Koppers
a66290a15f
add support for async externals
...
add `promise` external
add `import` external (uses import())
add `output.importFunctionName` option to change the `import()` function name
allow for inline external type when using arrays
fix some typings
fix namespace object behavior when using system external and accessing nested property
fix interop behavior for async dynamic modules
2020-05-19 17:25:43 +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
020cedf383
remove weird types
...
remove SKIP_OVER_NAME
update tooling for fixed "to not edit" comments
2020-05-12 15:58:43 +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
e982708a51
fixes for stricter linting
2020-04-14 14:51:08 +02:00
Tobias Koppers
d5c31ab864
Merge branch 'master' into dev-1
2020-04-14 12:48:38 +02:00
Kirill Mesnyankin
e28bf3ae13
Fix DllReferencePlugin schema
2020-04-12 01:28:49 +03:00
Tobias Koppers
505183833b
process numbers and booleans before strings
2020-03-26 16:46:58 +01:00
Tobias Koppers
25f2b4aabf
get rid of helpers in schema
...
handle array + single items by default in cli args
sort schema one/any/allOf array by type
2020-03-26 09:48:21 +01:00
Tobias Koppers
575d6aa4f0
Merge branch 'master' into dev-1
2020-03-20 09:58:13 +01:00
Tobias Koppers
b178bfc55a
Fix merge issues
2020-03-18 10:01:20 +01:00
evilebottnawi
793977d273
chore: setup cspell
2020-03-13 12:03:17 +03:00
Tobias Koppers
3bc5a9e0b7
Merge branch 'master' into dev-1
2020-03-12 15:44:02 +01:00
Tobias Koppers
87e6f58786
Ensure strict format of descriptions in schemas
2020-03-10 18:19:33 +01:00
Tobias Koppers
95347e17d5
Merge pull request #10445 from ScriptedAlchemy/container-reference-schema-validation
...
ContainerReferencePlugin options validation
2020-02-26 22:37:26 +01:00
Tobias Koppers
d33c0d144e
use new library system in ContainerPlugin
2020-02-26 21:52:58 +01:00
Tobias Koppers
28e16e8b2b
fix linting
2020-02-26 21:14:49 +01:00
Marais Rossouw
905f2475ff
feat: Adds ContainerPlugin
...
Co-authored-by: Zack Jackson <zackary.l.jackson@gmail.com>
2020-02-26 17:47:15 +01:00
Tobias Koppers
683e867450
Improve schema generation and add more descriptions
2020-02-17 19:12:58 +01:00
Tobias Koppers
56036a55ad
Merge pull request #10315 from smelukov/pregress-percent-by
...
add percentBy options to ProgressPlugin
2020-02-05 10:09:38 +01:00
evilebottnawi
3d25b187c7
fix: the declaration file
2020-01-30 15:32:32 +03:00