Commit Graph

11279 Commits

Author SHA1 Message Date
Ivan Kopeykin 198e51a485 Merge branch 'master' into exports-field
# Conflicts:
#	lib/dependencies/ImportDependency.js
#	lib/sharing/ConsumeSharedPlugin.js
#	lib/sharing/ProvideSharedPlugin.js
#	types.d.ts
2020-06-16 21:16:41 +03:00
Ivan Kopeykin 3f8def8185 fix discussions
- add module condition
- rename EnhancedResolveOptions
- fix applyByDependency util function
- use EMPTY_RESOLVE_OPTIONS when resolveOptions are undefined
2020-06-16 21:02:31 +03:00
Tobias Koppers c00fec3aa7
Merge pull request #10964 from pushkar100/feature/lazy-load-named-exports
Lazy loading only required exports from dynamic import()
2020-06-16 15:04:06 +02:00
Tobias Koppers d16f581d79
Merge pull request #11003 from resistdesign/patch-1
chore(Compilation EntryData includeDependencies):
2020-06-16 15:03:28 +02:00
Tobias Koppers d57d81dea6
Merge pull request #10984 from danimoh/remove-unnecessary-banner-plugin-code
BannerPlugin: remove unnecessary code
2020-06-16 15:03:08 +02:00
Tobias Koppers 930860dd89
Merge pull request #11045 from webpack/dependabot/npm_and_yarn/terser-webpack-plugin-3.0.5
chore(deps): bump terser-webpack-plugin from 3.0.3 to 3.0.5
2020-06-16 00:25:27 +02:00
Tobias Koppers dd8c07d9eb
Merge pull request #11043 from webpack/feature/shared-refactor
Refactor shared modules to allows multiple version in a single build
2020-06-15 23:42:56 +02:00
dependabot-preview[bot] 26ab19148a
chore(deps): bump terser-webpack-plugin from 3.0.3 to 3.0.5
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 3.0.3 to 3.0.5.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v3.0.3...v3.0.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-15 21:41:15 +00:00
Tobias Koppers 590af1edfe improve readable names
update example
add optionalDependencies to automatic requiredVersion sources
2020-06-15 22:45:36 +02:00
Tobias Koppers 1864cf59ad fix resolving of direct fallback requests
fix persistent caching test case
2020-06-15 20:12:38 +02:00
Tobias Koppers 92a3079f29 fix typing errors 2020-06-15 20:12:36 +02:00
Tobias Koppers a213d5217e
Merge pull request #11038 from webpack/dependabot/npm_and_yarn/eslint-plugin-prettier-3.1.4
chore(deps-dev): bump eslint-plugin-prettier from 3.1.3 to 3.1.4
2020-06-15 18:28:48 +02:00
Tobias Koppers c10668ca9b
Merge pull request #11030 from webpack/dependabot/npm_and_yarn/acorn-7.3.1
chore(deps): bump acorn from 7.2.0 to 7.3.1
2020-06-15 18:28:40 +02:00
Tobias Koppers 13ab98f294
Merge pull request #11037 from webpack/dependabot/npm_and_yarn/css-loader-3.6.0
chore(deps-dev): bump css-loader from 3.5.3 to 3.6.0
2020-06-15 18:28:28 +02:00
Tobias Koppers a31fab78d4
Merge pull request #11029 from webpack/dependabot/npm_and_yarn/less-loader-6.1.1
chore(deps-dev): bump less-loader from 6.1.0 to 6.1.1
2020-06-15 18:28:15 +02:00
Tobias Koppers 47d5d86c21
Merge pull request #11022 from webpack/dependabot/npm_and_yarn/types/node-12.12.47
chore(deps-dev): bump @types/node from 12.12.44 to 12.12.47
2020-06-15 18:27:54 +02:00
Tobias Koppers ad56d8abb1 improve handling of relative/absolute requests in the ProvideSharedPlugin 2020-06-15 16:20:34 +02:00
dependabot-preview[bot] 59358cc312
chore(deps-dev): bump eslint-plugin-prettier from 3.1.3 to 3.1.4
Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-plugin-prettier/compare/v3.1.3...v3.1.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-15 02:15:26 +00:00
dependabot-preview[bot] c16c04d900
chore(deps-dev): bump css-loader from 3.5.3 to 3.6.0
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.5.3 to 3.6.0.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v3.5.3...v3.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-15 02:14:49 +00:00
Ryan Graff 9160a0d3fd chore(Compilation EntryData includeDependencies):
Update typings.
2020-06-13 18:05:35 -04:00
Tobias Koppers d1828d4582 allow ProvideSharedPlugin to handle relative requests 2020-06-13 15:17:28 +02:00
Tobias Koppers 1c42f71250 allow to provide and consume multiple versions of shared modules 2020-06-13 14:45:37 +02:00
Ivan Kopeykin 6146187ed2 rework defaults
defaults now align with webpack exports field guideline
2020-06-12 19:29:17 +03:00
dependabot-preview[bot] a85bb1a3cd
chore(deps): bump acorn from 7.2.0 to 7.3.1
Bumps [acorn](https://github.com/acornjs/acorn) from 7.2.0 to 7.3.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/7.2.0...7.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-12 02:13:10 +00:00
dependabot-preview[bot] 814b11c334
chore(deps-dev): bump less-loader from 6.1.0 to 6.1.1
Bumps [less-loader](https://github.com/webpack-contrib/less-loader) from 6.1.0 to 6.1.1.
- [Release notes](https://github.com/webpack-contrib/less-loader/releases)
- [Changelog](https://github.com/webpack-contrib/less-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/less-loader/compare/v6.1.0...v6.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-12 02:12:28 +00:00
Tobias Koppers 42e14d6a42 provide shared based on used modules and used version 2020-06-10 16:30:08 +02:00
Tobias Koppers dc37d6910a add finishMake hook to Compiler 2020-06-10 16:28:59 +02:00
Tobias Koppers a4ac8f0328 Cleanup 2020-06-10 14:01:24 +02:00
Tobias Koppers 6f5a7ea9e1
Merge pull request #10994 from msyfls123/patch-1
Fix mistaken typings.
2020-06-10 11:50:26 +02:00
dependabot-preview[bot] 9e6aaea69b
chore(deps-dev): bump @types/node from 12.12.44 to 12.12.47
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 12.12.44 to 12.12.47.
- [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-06-10 02:12:28 +00:00
webpack bot bcd75fd68a
Merge pull request #11015 from webpack/dependabot/npm_and_yarn/less-3.11.3
chore(deps-dev): bump less from 3.11.2 to 3.11.3
2020-06-09 04:21:54 +02:00
Ivan Kopeykin d2a08e3cc8 rework how byDependency applied
remove dependencyType parameter for resolver factory
add dependencyType option in enhanced resolve options
2020-06-09 01:32:24 +03:00
Ivan Kopeykin 2f7510abd2 add restrictions option 2020-06-08 23:54:59 +03:00
Ivan Kopeykin 0511503a42 upgrade enhanced-resolve version 2020-06-08 23:50:46 +03:00
dependabot-preview[bot] 99e7c20dbf
chore(deps-dev): bump less from 3.11.2 to 3.11.3
Bumps [less](https://github.com/less/less.js) from 3.11.2 to 3.11.3.
- [Release notes](https://github.com/less/less.js/releases)
- [Changelog](https://github.com/less/less.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/less/less.js/compare/v3.11.2...v3.11.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-08 02:15:14 +00:00
webpack bot d573a12a6c
Merge pull request #11001 from webpack/dependabot/npm_and_yarn/types/node-12.12.44
chore(deps-dev): bump @types/node from 12.12.43 to 12.12.44
2020-06-06 04:21:54 +02:00
Pushkar DK 31e3369a73 Add 'webpackExports' & make only referenced exports available in import() 2020-06-06 00:11:21 +05:30
Ryan Graff 8cebd62722
chore(Compilation EntryData includeDependencies):
Correct a grammatical error in the description.
2020-06-05 00:42:33 -04:00
dependabot-preview[bot] 5fb7bd7573
chore(deps-dev): bump @types/node from 12.12.43 to 12.12.44
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 12.12.43 to 12.12.44.
- [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-06-05 02:13:34 +00:00
Tobias Koppers 253cf465df
Merge pull request #10992 from webpack/feature/script-external
add script external
2020-06-05 03:22:13 +02:00
Tobias Koppers d6608729f3
Merge pull request #10999 from webpack/dependabot/npm_and_yarn/typescript-3.9.5
chore(deps-dev): bump typescript from 3.9.3 to 3.9.5
2020-06-05 02:42:45 +02:00
Tobias Koppers 7a14339bca
Merge pull request #10998 from webpack/dependabot/npm_and_yarn/eslint-scope-5.1.0
chore(deps): bump eslint-scope from 5.0.0 to 5.1.0
2020-06-05 02:42:35 +02:00
Tobias Koppers 562f0783f2
Merge pull request #10996 from webpack/dependabot/npm_and_yarn/lint-staged-10.2.9
chore(deps-dev): bump lint-staged from 10.2.8 to 10.2.9
2020-06-05 02:42:27 +02:00
Tobias Koppers 10517ae3ae fix hot test cases 2020-06-05 02:41:53 +02:00
dependabot-preview[bot] 8ba939af41
chore(deps-dev): bump typescript from 3.9.3 to 3.9.5
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.9.3 to 3.9.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-04 21:54:52 +00:00
dependabot-preview[bot] 5d54ba03f4
chore(deps): bump eslint-scope from 5.0.0 to 5.1.0
Bumps [eslint-scope](https://github.com/eslint/eslint-scope) from 5.0.0 to 5.1.0.
- [Release notes](https://github.com/eslint/eslint-scope/releases)
- [Changelog](https://github.com/eslint/eslint-scope/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint-scope/compare/v5.0.0...v5.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-04 16:15:22 +00:00
dependabot-preview[bot] a4005f2608
chore(deps-dev): bump lint-staged from 10.2.8 to 10.2.9
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.2.8 to 10.2.9.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.2.8...v10.2.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-04 16:08:12 +00:00
Tobias Koppers 03b4dc1a1c add html to example readme 2020-06-04 15:06:38 +02:00
Tobias Koppers 18f6c0b803 update snapshots 2020-06-04 14:54:16 +02:00
Gnome Bard 11b6713d73
Fix mistaken typings. 2020-06-04 14:04:07 +08:00