Commit Graph

13148 Commits

Author SHA1 Message Date
Tobias Koppers f96194e0f6 storing ConcatenatedModule doesn't make sense, since it has no cachable info
instead the code geneneration cache will cover everything
2021-02-23 15:36:52 +01:00
Tobias Koppers 732179eb83
Merge pull request #12760 from webpack/performance/module-concatenation 2021-02-23 13:44:33 +01:00
Tobias Koppers 5c42b918b4 further optimizations 2021-02-23 12:03:26 +01:00
Tobias Koppers 365a362522 performance optimization
add statistics to ModuleConcatenationPlugin
2021-02-23 10:59:59 +01:00
Tobias Koppers 84ec7708c2 improve performance of getModuleRuntimes 2021-02-23 00:25:38 +01:00
Tobias Koppers 63c14ccbfc 5.24.0 2021-02-22 23:32:34 +01:00
Tobias Koppers 4e0e03bc8e
Merge pull request #12752 from webpack/bugfix/lazy-compilation
fix `experiments.lazyCompilation: true`
2021-02-22 23:30:59 +01:00
Tobias Koppers 0742a05bc1 fix `experiments.lazyCompilation: true` 2021-02-22 23:25:37 +01:00
Tobias Koppers 4ed5ccd244
Merge pull request #12751 from webpack/bugfix/concat-reexports
unset targets when a harmony star reexport is hidden by another one
2021-02-22 23:21:23 +01:00
Tobias Koppers 87a70e03b8 unset targets when a harmony star reexport is hidden by another one 2021-02-22 21:56:00 +01:00
Tobias Koppers 972b7f9bd1
Merge pull request #12743 from webpack/bugfix/logger-name
fix logger name
2021-02-22 15:43:41 +01:00
Tobias Koppers 84c96f8635
Merge pull request #12739 from chenxsan/bugfix/fix-husky-upgrade 2021-02-22 14:24:55 +01:00
Tobias Koppers 305db4cfaf
Merge pull request #12746 from webpack/bugfix/logging-debug
debug logging should be included in stats even if stats.logging is false
2021-02-22 13:55:23 +01:00
Tobias Koppers a90d2b20f5 fix logger name 2021-02-22 13:41:21 +01:00
Tobias Koppers 2bfbf81b59
Merge pull request #12745 from webpack/perf/module-concatenation
improve performance of finding modules for concatenation
2021-02-22 13:39:29 +01:00
Tobias Koppers 23502045ce
Merge pull request #12744 from webpack/bugfix/side-effects-reexports-concatenation
fix bug where ExportInfo uses inactive connections to find the target of an export
2021-02-22 13:38:53 +01:00
Tobias Koppers 7e02eea553 improve setup script 2021-02-22 13:34:42 +01:00
Tobias Koppers 0b4506b206 improve typings for loggingDebug and other filtering configuration options 2021-02-22 13:18:27 +01:00
Tobias Koppers 9b448c14d9 debug logging should be included in stats even if stats.logging is false 2021-02-22 12:53:52 +01:00
Tobias Koppers 1c0b88c72f fix bug where ExportInfo uses inactive connections to find the target of an export
This happens when multiple exports * export the same name but the first one is discovered later in the process
In this case the ExportInfo contains both connections, but the second one is inactive.
2021-02-22 12:47:34 +01:00
chenxsan 067ceed560 add comment 2021-02-22 18:50:29 +08:00
chenxsan 315841d5dd move postinstall to setup 2021-02-22 18:46:16 +08:00
chenxsan 7ca514c224 remove pinst 2021-02-22 18:33:21 +08:00
Tobias Koppers a084baac2f improve performance of finding modules for concatenation 2021-02-22 10:52:39 +01:00
Tobias Koppers e09090bbf1
Merge pull request #12734 from npenin/master 2021-02-22 10:13:23 +01:00
Tobias Koppers 550ae23d6d
Merge pull request #12720 from PAkerstrand/fix/module-concatenation-renaming 2021-02-22 08:46:13 +01:00
chenxsan d0e79dfd48 enable pinst for husky 2021-02-22 09:18:04 +08:00
chenxsan d2c6b9f8ec fix husky upgrade 2021-02-22 09:08:10 +08:00
webpack bot 2f1a892ce4
Merge pull request #12727 from webpack/dependabot/npm_and_yarn/es-module-lexer-0.4.0
chore(deps): bump es-module-lexer from 0.3.26 to 0.4.0
2021-02-21 13:52:06 +01:00
npenin 92c4936497 fixed types.d.ts 2021-02-21 10:12:38 +00:00
Nicolas Penin 7fb29f8b35
Update types.d.ts 2021-02-21 11:08:39 +01:00
Nicolas Penin 3a2409fcde
Update index.js 2021-02-21 10:59:17 +01:00
Nicolas Penin 83bc3c588b
updated typedef in index.js 2021-02-21 10:53:38 +01:00
Nicolas Penin f32761e60b
Update types.d.ts
adding watching to the list of exported types
2021-02-21 10:35:46 +01:00
webpack bot 0dd311ca00
Merge pull request #12722 from webpack/dependabot/npm_and_yarn/types/node-14.14.31
chore(deps-dev): bump @types/node from 14.14.28 to 14.14.31
2021-02-20 19:22:01 +01:00
dependabot-preview[bot] 4735a9255b
chore(deps): bump es-module-lexer from 0.3.26 to 0.4.0
Bumps [es-module-lexer](https://github.com/guybedford/es-module-lexer) from 0.3.26 to 0.4.0.
- [Release notes](https://github.com/guybedford/es-module-lexer/releases)
- [Changelog](https://github.com/guybedford/es-module-lexer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/guybedford/es-module-lexer/compare/0.3.26...0.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-20 12:46:26 +00:00
Patrik Åkerstrand a62c350804
simplify branching logic 2021-02-19 19:32:23 +01:00
dependabot-preview[bot] 17f5e293d9
chore(deps-dev): bump @types/node from 14.14.28 to 14.14.31
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.28 to 14.14.31.
- [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>
2021-02-19 18:11:55 +00:00
Patrik Åkerstrand 398fdef5c8
Fix module concatenation renaming bug
Fixes a case where variable renaming due to module concatenation caused
the generated code to look up a different property than the source code, when
combined with a default value for the property

Closes #12712
2021-02-19 12:08:21 +01:00
Tobias Koppers 2a0536cf51
Merge pull request #12711 from webpack/dependabot/npm_and_yarn/mini-css-extract-plugin-1.3.8
chore(deps-dev): bump mini-css-extract-plugin from 1.3.6 to 1.3.8
2021-02-18 17:01:11 +01:00
Tobias Koppers 7774d7ec63 5.23.0 2021-02-18 16:52:21 +01:00
Tobias Koppers cdac6695fb
Merge pull request #12710 from webpack/bugfix/library-runtime-chunk
fix regression when combining library + runtimeChunk + node target
2021-02-18 16:47:16 +01:00
dependabot-preview[bot] a20dbefbe1
chore(deps-dev): bump mini-css-extract-plugin from 1.3.6 to 1.3.8
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) from 1.3.6 to 1.3.8.
- [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/v1.3.6...v1.3.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-18 15:06:09 +00:00
Tobias Koppers cc6f3d9113 fix regression when combining library + runtimeChunk + node target
related to https://github.com/vercel/next.js/pull/22187
2021-02-18 15:50:40 +01:00
Tobias Koppers 61dbb57857
Merge pull request #12590 from chenxsan/feature/export-MultiStats-type 2021-02-18 13:45:32 +01:00
webpack bot 5849090c4e
Merge pull request #12696 from webpack/dependabot/npm_and_yarn/eslint-plugin-jsdoc-32.0.2
chore(deps-dev): bump eslint-plugin-jsdoc from 31.6.1 to 32.0.2
2021-02-18 00:11:56 +01:00
Tobias Koppers 32bd1a2ff5
Merge pull request #12692 from dnalborczyk/spellcheck
chore: move unknown word to cspell.json
2021-02-17 10:15:28 +01:00
dependabot-preview[bot] 327fa430b0
chore(deps-dev): bump eslint-plugin-jsdoc from 31.6.1 to 32.0.2
Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 31.6.1 to 32.0.2.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v31.6.1...v32.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-16 23:07:04 +00:00
Tobias Koppers 05768d9029
Merge pull request #12695 from webpack/feature/relative-url
add `parser.url: "relative"` option
2021-02-16 20:59:44 +01:00
Tobias Koppers 5d57777a5e add `parser.url: "relative"` option
this will generate URLs without base uri for `new URL`
publicPath is still added
2021-02-16 19:04:16 +01:00