Commit Graph

10138 Commits

Author SHA1 Message Date
Tobias Koppers 567ff7f026 Don't use JSON.parse when json is a string 2019-12-20 12:53:17 +01:00
Tobias Koppers d16abb3294 detect cycles during this.loadModule from loader
fix #10152
2019-12-20 12:50:55 +01:00
Tobias Koppers dda3279221 Merge tag 'v4.41.4'
4.41.4
2019-12-19 13:55:43 +01:00
Tobias Koppers fb6f44df3d
Merge pull request #10151 from webpack/feature/prefetch-runtime-module
refactor chunk prefetching/preloading into separate plugin and runtime modules
2019-12-19 13:36:22 +01:00
Tobias Koppers 6b9d510612 refactor chunk prefetching/preloading into separate plugin and runtime modules 2019-12-19 12:01:46 +01:00
Tobias Koppers dcc45dd977 4.41.4 2019-12-19 08:28:45 +01:00
Tobias Koppers 4e68953bba
Merge pull request #10149 from webpack/dependabot/npm_and_yarn/babel/core-7.7.7
chore(deps-dev): bump @babel/core from 7.7.5 to 7.7.7
2019-12-19 08:13:31 +01:00
dependabot-preview[bot] d523515e63
chore(deps-dev): bump @babel/core from 7.7.5 to 7.7.7
Bumps [@babel/core](https://github.com/babel/babel) from 7.7.5 to 7.7.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.5...v7.7.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-19 01:17:23 +00:00
Tobias Koppers 00af7d9de6
Merge pull request #10140 from webpack/dependabot/npm_and_yarn/mini-css-extract-plugin-0.8.2
chore(deps-dev): bump mini-css-extract-plugin from 0.8.1 to 0.8.2
2019-12-18 20:41:10 +01:00
Tobias Koppers dccb935660
Merge pull request #10128 from smelukov/inner-graph-eval-used
opt-out inner graph optimization when eval is used
2019-12-18 20:40:48 +01:00
Tobias Koppers 7b77d3d886
Merge pull request #10130 from smelukov/eval-devtool-attention
Add comments to bundle to explain why eval is used for devtool
2019-12-18 20:40:11 +01:00
Tobias Koppers 428ed197bf improve message, performance optimizations 2019-12-18 20:13:05 +01:00
Tobias Koppers e183ace8ad
Merge pull request #10147 from webpack/dependabot/npm_and_yarn/types/node-12.12.21
chore(deps-dev): bump @types/node from 12.12.20 to 12.12.21
2019-12-18 17:44:41 +01:00
Sergey Melyukov dabdedc507 Add comments to bundle to explain why eval is used for devtool 2019-12-18 17:42:15 +01:00
Tobias Koppers ab4fa8ddb3
Merge pull request #10146 from liximomo/fix-sideEffects
fix: bundle wrong modules
2019-12-18 17:39:10 +01:00
liximomo 1452d19673 test: add test case 2019-12-18 17:02:01 +01:00
liximomo 156a0874a9 fix: prevent incorrectly redirect 2019-12-18 17:01:58 +01:00
dependabot-preview[bot] a1da47f8a1
chore(deps-dev): bump @types/node from 12.12.20 to 12.12.21
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 12.12.20 to 12.12.21.
- [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>
2019-12-18 14:43:36 +00:00
Tobias Koppers 5b8fbca378
Merge pull request #10132 from jeffin143/patch-9859
Backport lazy require webassemblyjs using modules to webpack-4
2019-12-18 14:55:20 +01:00
Sergey Melyukov cb8d279bde update snapshots 2019-12-18 16:43:51 +03:00
Sergey Melyukov cd174adeb0 Merge remote-tracking branch 'upstream/master' into inner-graph-eval-used 2019-12-18 16:37:03 +03:00
Sergey Melyukov 05abeee20a pr comments 2019-12-18 16:36:19 +03:00
Tobias Koppers 54d070dfa0
Merge pull request #10109 from smelukov/deprecate-string-loader-options
Deprecate using string as a loader options
2019-12-18 14:29:54 +01:00
Tobias Koppers a967f85bef
Merge pull request #10127 from Levdbas/master
Assign fallback ChunkGraph to HotUpdateChunks
2019-12-18 10:26:19 +01:00
Tobias Koppers e62512dc86
Merge pull request #10133 from webpack/bugfix/issue-10104
fixes missing `__webpack_require__.e` in concatenated modules
2019-12-18 10:23:40 +01:00
Tobias Koppers c8d2f21c4f
Merge pull request #10141 from webpack/dependabot/npm_and_yarn/types/node-12.12.20
chore(deps-dev): bump @types/node from 12.12.19 to 12.12.20
2019-12-18 10:02:14 +01:00
dependabot-preview[bot] c2574cbdc2
chore(deps-dev): bump @types/node from 12.12.19 to 12.12.20
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 12.12.19 to 12.12.20.
- [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>
2019-12-17 18:37:03 +00:00
dependabot-preview[bot] e8eff9fbee
chore(deps-dev): bump mini-css-extract-plugin from 0.8.1 to 0.8.2
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) from 0.8.1 to 0.8.2.
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v0.8.1...v0.8.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-17 17:51:14 +00:00
Tobias Koppers 77971bf8c0 backporting to webpack-4 2019-12-17 22:16:33 +05:30
Tobias Koppers c81963bf6b fixes #10104 2019-12-17 17:23:54 +01:00
Tobias Koppers e51e403532
Merge pull request #10135 from webpack/dependabot/npm_and_yarn/style-loader-1.0.2
chore(deps-dev): bump style-loader from 1.0.1 to 1.0.2
2019-12-17 17:19:50 +01:00
Tobias Koppers f5e7b4d0b4
Merge pull request #10138 from webpack/dependabot/npm_and_yarn/css-loader-3.4.0
chore(deps-dev): bump css-loader from 3.3.2 to 3.4.0
2019-12-17 17:19:38 +01:00
Tobias Koppers 63afbf9bf1 add deprecation testing for config test cases 2019-12-17 17:18:52 +01:00
Tobias Koppers 085f3d7f89 improve location reporting 2019-12-17 17:15:49 +01:00
Tobias Koppers cfac87382f cleaup
add missing loader options place
2019-12-17 16:33:06 +01:00
Tobias Koppers b5f2077bf5
Merge pull request #10106 from smelukov/concat-modules-cache
persistent cache for concat modules
2019-12-17 16:20:27 +01:00
Tobias Koppers ddb4a6f793
Merge pull request #10136 from webpack/dependabot/npm_and_yarn/types/node-12.12.19
chore(deps-dev): bump @types/node from 12.12.18 to 12.12.19
2019-12-17 16:15:35 +01:00
Tobias Koppers f6b4453333
Merge pull request #10137 from webpack/dependabot/npm_and_yarn/mini-css-extract-plugin-0.8.1
chore(deps-dev): bump mini-css-extract-plugin from 0.8.0 to 0.8.1
2019-12-17 16:15:24 +01:00
Tobias Koppers 16a84c0340
Merge pull request #10134 from webpack/dependabot/npm_and_yarn/terser-webpack-plugin-2.3.1
chore(deps): bump terser-webpack-plugin from 2.2.1 to 2.3.1
2019-12-17 16:13:31 +01:00
dependabot-preview[bot] 8318d7bf98
chore(deps-dev): bump css-loader from 3.3.2 to 3.4.0
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.3.2 to 3.4.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.3.2...v3.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-17 14:29:08 +00:00
dependabot-preview[bot] afb8b4b21c
chore(deps-dev): bump mini-css-extract-plugin from 0.8.0 to 0.8.1
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) from 0.8.0 to 0.8.1.
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v0.8.0...v0.8.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-17 14:23:20 +00:00
dependabot-preview[bot] 0d4e1584c0
chore(deps-dev): bump @types/node from 12.12.18 to 12.12.19
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 12.12.18 to 12.12.19.
- [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>
2019-12-17 14:17:09 +00:00
Tobias Koppers cc500384f6 update snapshots 2019-12-17 14:22:18 +01:00
dependabot-preview[bot] 6deaf49dd2
chore(deps-dev): bump style-loader from 1.0.1 to 1.0.2
Bumps [style-loader](https://github.com/webpack-contrib/style-loader) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/webpack-contrib/style-loader/releases)
- [Changelog](https://github.com/webpack-contrib/style-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/style-loader/compare/v1.0.1...v1.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-17 12:46:37 +00:00
dependabot-preview[bot] 7205a20019
chore(deps): bump terser-webpack-plugin from 2.2.1 to 2.3.1
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 2.2.1 to 2.3.1.
- [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/v2.2.1...v2.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-17 11:07:51 +00:00
Tobias Koppers 33d9f7bdbf bugfix: candiates should only be added when adding was successful 2019-12-17 11:24:23 +01:00
Tobias Koppers 273bdfe649
Merge pull request #10129 from webpack/dependabot/npm_and_yarn/types/node-12.12.18
chore(deps-dev): bump @types/node from 12.12.17 to 12.12.18
2019-12-16 21:15:12 +01:00
Tobias Koppers fa57ed946c extend persistent-caching example with bigger module concatenation 2019-12-16 21:12:37 +01:00
Tobias Koppers 73fd64fc90 refactor
refactor ConcatenatedModule to avoid compilation argument
avoid caching inner modules in ConcatenatedModule
improve performance of ModuleConcatenationPlugin
add ModuleStoreError when storing of module fails
2019-12-16 21:08:32 +01:00
Tobias Koppers 922500ed0d test caching for concatenated modules 2019-12-16 21:06:29 +01:00