Commit Graph

11131 Commits

Author SHA1 Message Date
evilebottnawi 7852c25657 chore: update terser-webpack-plugin 2020-05-23 16:42:57 +03:00
Tobias Koppers 28bb0c59c0
Merge pull request #10876 from webpack/refactor/asset-processing
cleanup asset processing
2020-05-22 21:07:41 +02:00
Tobias Koppers 49752a06a8 cleanup asset processing
deprecate writing to compilation.assets after sealing.
merge all asset processing into single hook with stages.
Deprecate additionalChunkAssets and optimizeChunkAssets.
Redirect additionalAssets, optimizeAssets to processAssets for backward-compat.
Remove finishAssets hook without deprecation as it was not in v4.
2020-05-22 10:39:21 +02:00
Tobias Koppers 817a72659e
Merge pull request #10943 from webpack/dependabot/npm_and_yarn/types/node-12.12.42
chore(deps-dev): bump @types/node from 12.12.39 to 12.12.42
2020-05-22 09:56:36 +02:00
Tobias Koppers 4f07931e7f
Merge pull request #10934 from webpack/test/dynamic-reexports-5
add more test cases for dynamic reexports
2020-05-22 09:55:09 +02:00
webpack bot 06c223734e
Merge pull request #10935 from webpack/dependabot/npm_and_yarn/typescript-3.9.3
chore(deps-dev): bump typescript from 3.9.2 to 3.9.3
2020-05-22 04:21:57 +02:00
dependabot-preview[bot] 231b13c057
chore(deps-dev): bump @types/node from 12.12.39 to 12.12.42
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 12.12.39 to 12.12.42.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-21 21:02:00 +00:00
dependabot-preview[bot] a7ded89449
chore(deps-dev): bump typescript from 3.9.2 to 3.9.3
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.9.2 to 3.9.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.9.2...v3.9.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-21 02:13:04 +00:00
Tobias Koppers 542c6607c8
Merge pull request #10932 from webpack/examples/update
update examples
2020-05-21 00:28:39 +02:00
Tobias Koppers 625b3832c7 add more test cases for dynamic reexports 2020-05-21 00:28:17 +02:00
Tobias Koppers c0628711d4
Merge pull request #10931 from webpack/mf/dot-prefix
change Module Federation API to be more similar to exports field
2020-05-21 00:11:02 +02:00
Tobias Koppers d0b358d108 update examples 2020-05-20 23:26:51 +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 0dc42ea969
Merge pull request #10925 from webpack/dependabot/npm_and_yarn/memfs-3.2.0
chore(deps-dev): bump memfs from 3.1.3 to 3.2.0
2020-05-20 18:18:04 +02:00
Tobias Koppers 36844ec3dc
Merge pull request #10923 from webpack/mfe/expose-main-module
allow to expose and consume an index module from containers
2020-05-20 18:16:03 +02:00
Tobias Koppers 8a3e79b42a
Merge pull request #10898 from webpack/feature/async-externals
add support for async externals
2020-05-20 18:14:50 +02:00
Tobias Koppers c74a9d208b update snapshots
make diff snapshots less position dependent
2020-05-20 17:53:00 +02:00
webpack bot 4d0b03252b
Merge pull request #10914 from webpack/dependabot/npm_and_yarn/date-fns-2.14.0
chore(deps-dev): bump date-fns from 2.13.0 to 2.14.0
2020-05-20 00:11:55 +02:00
dependabot-preview[bot] bd257e352c
chore(deps-dev): bump memfs from 3.1.3 to 3.2.0
Bumps [memfs](https://github.com/streamich/memfs) from 3.1.3 to 3.2.0.
- [Release notes](https://github.com/streamich/memfs/releases)
- [Changelog](https://github.com/streamich/memfs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/streamich/memfs/compare/v3.1.3...v3.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-19 18:33:58 +00:00
Tobias Koppers e476168fe7 allow to expose and consume an index module from containers 2020-05-19 17:49:20 +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 3c7f6a6616
Merge pull request #10915 from webpack/dependabot/npm_and_yarn/types/jest-25.2.3
chore(deps-dev): bump @types/jest from 25.2.2 to 25.2.3
2020-05-19 16:37:01 +02:00
Tobias Koppers 4be5b72c30
Merge pull request #10912 from webpack/dependabot/npm_and_yarn/lint-staged-10.2.4
chore(deps-dev): bump lint-staged from 10.2.2 to 10.2.4
2020-05-19 16:36:34 +02:00
Tobias Koppers 6be1e0f6d0
Merge pull request #10905 from webpack/dependabot/npm_and_yarn/eslint-plugin-jest-23.13.1
chore(deps-dev): bump eslint-plugin-jest from 23.10.0 to 23.13.1
2020-05-19 16:36:25 +02:00
Tobias Koppers 9f5b5e5273
Merge pull request #10904 from webpack/dependabot/npm_and_yarn/cspell-4.0.63
chore(deps-dev): bump cspell from 4.0.61 to 4.0.63
2020-05-19 16:36:12 +02:00
Tobias Koppers 560f4e0529
Merge pull request #10922 from webpack/optmization/concatenate-with-only-used-exports-known
allow to concatenate modules when used exports are known
2020-05-19 15:55:51 +02:00
Tobias Koppers fde5b3df11 allow to concatenate modules when used exports are known 2020-05-19 14:42:21 +02:00
Tobias Koppers 4d3b021c3f
Merge pull request #10916 from webpack/bugfixes/side-effect-optimization
optimizations for side effects
2020-05-19 10:10:13 +02:00
Tobias Koppers adf9ef6902 add side effects test cases 2020-05-19 03:16:23 +02:00
Tobias Koppers fdf43eab16 Connect more info about exports when using export * 2020-05-19 03:16:21 +02:00
Tobias Koppers 5efac22a5c improve side-effects handling for dynamic reexports 2020-05-19 02:08:11 +02:00
Tobias Koppers 44a5050b07 fix that using `module` in a ESM causes exports deopt 2020-05-19 02:07:26 +02:00
Tobias Koppers 18c320794e add optimization stats test case 2020-05-19 02:05:50 +02:00
dependabot-preview[bot] f0d885f6fd
chore(deps-dev): bump @types/jest from 25.2.2 to 25.2.3
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 25.2.2 to 25.2.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-18 23:44:50 +00:00
dependabot-preview[bot] 8ce17b1902
chore(deps-dev): bump date-fns from 2.13.0 to 2.14.0
Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.13.0 to 2.14.0.
- [Release notes](https://github.com/date-fns/date-fns/releases)
- [Changelog](https://github.com/date-fns/date-fns/blob/master/CHANGELOG.md)
- [Commits](https://github.com/date-fns/date-fns/compare/v2.13.0...v2.14.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-18 22:08:34 +00:00
dependabot-preview[bot] 6855c33a14
chore(deps-dev): bump lint-staged from 10.2.2 to 10.2.4
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.2.2 to 10.2.4.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.2.2...v10.2.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-18 18:05:53 +00:00
dependabot-preview[bot] c1584afdb7
chore(deps-dev): bump eslint-plugin-jest from 23.10.0 to 23.13.1
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 23.10.0 to 23.13.1.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v23.10.0...v23.13.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-17 09:21:53 +00:00
dependabot-preview[bot] 4ca7e37cad
chore(deps-dev): bump cspell from 4.0.61 to 4.0.63
Bumps [cspell](https://github.com/streetsidesoftware/cspell) from 4.0.61 to 4.0.63.
- [Release notes](https://github.com/streetsidesoftware/cspell/releases)
- [Commits](https://github.com/streetsidesoftware/cspell/compare/cspell@4.0.61...cspell@4.0.63)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-16 21:51:51 +00:00
Tobias Koppers afd1f0d0d4
Merge pull request #10893 from webpack/mfe/advanced-config
advanced configs for container plugins
2020-05-14 21:09:41 +02:00
webpack bot 575f04d92e
Merge pull request #10894 from webpack/dependabot/npm_and_yarn/memfs-3.1.3
chore(deps-dev): bump memfs from 3.1.2 to 3.1.3
2020-05-14 18:47:11 +02:00
dependabot-preview[bot] 9fd611af51
chore(deps-dev): bump memfs from 3.1.2 to 3.1.3
Bumps [memfs](https://github.com/streamich/memfs) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/streamich/memfs/releases)
- [Changelog](https://github.com/streamich/memfs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/streamich/memfs/compare/v3.1.2...v3.1.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-14 16:27:46 +00:00
Tobias Koppers aa750e4bd0 test cases and bugfix 2020-05-14 17:25:14 +02:00
Tobias Koppers 48a6d7f3b2 fix missing request property 2020-05-14 16:20:00 +02:00
Tobias Koppers 4b6f53d04c fix deserialization of RemoteModule and RemoteOverridesModule 2020-05-14 16:06:49 +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
webpack bot cfcac33745
Merge pull request #10884 from webpack/dependabot/npm_and_yarn/types/node-12.12.39
chore(deps-dev): bump @types/node from 12.12.38 to 12.12.39
2020-05-14 03:11:58 +02:00
webpack bot 77e7bda28e
Merge pull request #10888 from webpack/dependabot/npm_and_yarn/types/jest-25.2.2
chore(deps-dev): bump @types/jest from 25.2.1 to 25.2.2
2020-05-13 21:22:11 +02:00
dependabot-preview[bot] 2a0241bfb9
chore(deps-dev): bump @types/jest from 25.2.1 to 25.2.2
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 25.2.1 to 25.2.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-13 18:53:29 +00:00
Tobias Koppers f06086c53b
Merge pull request #10631 from mohsen1/mohsen--ts3.9
Upgrade to TypeScript 3.9
2020-05-13 17:56:20 +02:00
dependabot-preview[bot] dea7679791
chore(deps-dev): bump @types/node from 12.12.38 to 12.12.39
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 12.12.38 to 12.12.39.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-13 01:08:42 +00:00