Commit Graph

11451 Commits

Author SHA1 Message Date
Tobias Koppers 897e997a2d fix windows issue 2020-06-17 20:50:15 +02:00
dependabot-preview[bot] 11de51a628
chore(deps-dev): bump lint-staged from 10.2.10 to 10.2.11
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.2.10 to 10.2.11.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.2.10...v10.2.11)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-17 17:34:52 +00:00
Ivan Kopeykin bfd447be01 upgrade tapable 2020-06-17 16:53:14 +03:00
Tobias Koppers 8141984bad
Merge pull request #11039 from webpack/dependabot/npm_and_yarn/lint-staged-10.2.10
chore(deps-dev): bump lint-staged from 10.2.9 to 10.2.10
2020-06-17 13:30:23 +02:00
Tobias Koppers aaef86b0b6
Merge pull request #11035 from shirohana/fix/hmr-module-cache-undefined
fix(hmr): Prevent retrieving properties in undefined object in jsHMR
2020-06-17 13:28:18 +02:00
Ivan Kopeykin 8174145782 upgrade enhanced-resolve 2020-06-17 14:22:37 +03:00
Hana Shiro 472f052ca7 Add test case for the fix in `test/hotCases/runtime/self-accept-factory` 2020-06-17 14:36:03 +08:00
Ivan Kopeykin e58c64912b fix lint 2020-06-16 22:09:07 +03:00
Ivan Kopeykin 9061a5ca94 add RESOLVE_OPTIONS to resolveMatchedConfigs 2020-06-16 21:20:46 +03:00
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
Hana Shiro 381283a840 Prevent retrieving properties in undefined object in jsHMR 2020-06-16 08:46:03 +08: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
dependabot-preview[bot] 0e1a5b1e30
chore(deps-dev): bump lint-staged from 10.2.9 to 10.2.10
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.2.9 to 10.2.10.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.2.9...v10.2.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-15 16:31:39 +00: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
goganchic 819dd10a22 rename dataURIMimetype and remove redundant regex check 2020-06-05 16:08:06 +03:00
goganchic 0ab91b7664 fix mimetype type description 2020-06-05 15:32:43 +03:00