Commit Graph

15074 Commits

Author SHA1 Message Date
Tobias Koppers d3a0f8de03 5.72.0 2022-04-07 14:35:55 +02:00
Tobias Koppers 360373d76e
Merge pull request #15563 from cool-little-fish/fix-12408
fix: hmr module.check api when called with false
2022-04-07 14:20:40 +02:00
Tobias Koppers b9b73c5418
Merge pull request #15634 from webpack/fix/issue-15633
fix ExportsInfo
2022-04-07 12:55:30 +02:00
Ivan Kopeykin 216c3daa4e fix ExportsInfo 2022-04-06 20:15:10 +03:00
Tobias Koppers cb639b3efc
Merge pull request #15624 from webpack/add-warning-when-cache-unaffected-and-concat-modules
throw error when using module concatenation and cacheUnaffected
2022-04-05 08:02:40 +02:00
Tobias Koppers c38caa2d82
Merge pull request #15515 from webpack/feat/concatenate-assets
add asset modules concatenation
2022-04-04 16:04:20 +02:00
Ivan Kopeykin 99a5793ca8 throw error when using module concatenation and cacheUnaffected
optimization.concatenateModules can't be used with cacheUnaffected as module concatenation is a global effect
2022-04-04 15:37:32 +03:00
Ivan Kopeykin 19d1a9384e fix lint and tests 2022-04-04 13:17:46 +03:00
Tobias Koppers 05ebf5bba6
Merge pull request #15617 from DavidTanner/bannerAsFooter
Allow banner to be placed as a footer
2022-04-04 11:27:04 +02:00
Tobias Koppers 2a58ce7883
Merge pull request #15542 from wangjinyang/bugfix/mf-hmr-error
fix hrm error when works with Module federation
2022-04-04 11:25:46 +02:00
Tobias Koppers 07242beec5
Merge branch 'main' into fix-12408 2022-04-04 11:24:52 +02:00
Tobias Koppers a9aa42291d
Merge pull request #15489 from webpack/dx/less-verbose-cache-warnings
make cache warnings caused by build errors less verbose
2022-04-04 11:22:55 +02:00
Tom ceed937ef0 fix: pretty-lint error "RuntimeGlobals.moduleFactories" 2022-04-02 09:00:08 +08:00
Tom 111a7b718d Merge remote-tracking branch 'upstream/main' into bugfix/mf-hmr-error 2022-04-02 08:35:33 +08:00
Tom 53d5a5900e Merge remote-tracking branch 'origin/bugfix/mf-hmr-error' into bugfix/mf-hmr-error 2022-04-02 08:34:50 +08:00
David Tanner 4f2adf9d02
Allow banner to be placed as a footer 2022-04-01 12:29:34 -06:00
Tobias Koppers c2079f7e76 5.71.0 2022-04-01 15:41:22 +02:00
Tobias Koppers 4a0937fdd0
Merge pull request #15578 from webpack/feat/catch-error-in-run-as-child
catch error in runAsChild callback
2022-04-01 15:26:01 +02:00
Tobias Koppers c3f5897df9
Merge pull request #15586 from webpack/bugfix/chunk-load-during-hmr
fix egde case where a HMR chunk is incorrectly downloaded
2022-04-01 15:25:10 +02:00
Tobias Koppers c4f1e4e9f0
Merge pull request #15611 from webpack/bugfix/esm-build-deps
support node.js builtin modules in esm build dependencies
2022-04-01 15:24:16 +02:00
jinyangwang 5afbaf6857
Update lib/container/RemoteRuntimeModule.js
Co-authored-by: Tobias Koppers <tobias.koppers@googlemail.com>
2022-04-01 21:01:24 +08:00
jinyangwang 69a0c52008
Update lib/container/RemoteRuntimeModule.js
Co-authored-by: Tobias Koppers <tobias.koppers@googlemail.com>
2022-04-01 21:01:09 +08:00
Tobias Koppers ab40959467 support node.js builtin modules in esm build dependencies 2022-04-01 14:52:53 +02:00
Tobias Koppers e1179bf9bb fix egde case where a HMR chunk is incorrectly downloaded when loading a unchanged chunk during HMR downloading 2022-04-01 14:45:53 +02:00
Tobias Koppers 2c200d1656
Merge pull request #15585 from webpack/refactor/support-context-in-dependency
support context in Dependency
2022-03-28 15:35:50 +02:00
Ivan Kopeykin 3929e688a4 fix discussions 2022-03-28 15:37:52 +03:00
Tobias Koppers ba755330c7 hash source types correctly for caching
nitpicks
2022-03-28 11:31:46 +02:00
Tobias Koppers 129477d11d
Merge pull request #15536 from webpack/fix/issue-15518
fix allDeps list
2022-03-28 09:52:38 +02:00
Tobias Koppers 5d8a9719ca
Merge pull request #15551 from webpack/fix/issue-15545
support arrow function in umd
2022-03-28 09:50:35 +02:00
Tobias Koppers 84aa5cfc91
Merge pull request #15577 from webpack/support-node-prefix-in-build-deps
support node: prefix in esm build dependencies
2022-03-28 09:31:55 +02:00
Ivan Kopeykin 5605e5329a add test case 2022-03-28 08:03:20 +03:00
Ivan Kopeykin cf5fc90082 support context in Dependency 2022-03-25 17:01:48 +03:00
Ivan Kopeykin 449d1786c2 catch error in runAsChild callback 2022-03-23 18:41:16 +03:00
Ivan Kopeykin 8df4d5c7fb support node: prefix in esm build dependencies 2022-03-23 11:27:37 +03:00
成仕伟 bfd057c158 fix typo 2022-03-20 20:58:02 +08:00
成仕伟 b6b5977f5d fix: hmr module.check api when called with false 2022-03-20 20:48:28 +08:00
Ivan Kopeykin 806ee08c3f support arrow function in umd 2022-03-18 18:58:50 +03:00
Tobias Koppers 86a8bd9618
Merge pull request #15455 from webpack/feature/support-in-operator
add "in" operator support
2022-03-17 11:17:39 +01:00
Ivan Kopeykin 3f1715f8d8 generate only needed source types
- in ConcatenatedModule generate only js
- in NormalModule generate only used sources
2022-03-17 13:00:39 +03:00
Tom 2d390a20f1 Merge remote-tracking branch 'upstream/main' 2022-03-17 14:47:48 +08:00
Tobias Koppers d94145e38d show different text for build error skips 2022-03-16 15:25:32 +01:00
Ivan Kopeykin e3de33414a fix allDeps list 2022-03-16 15:32:48 +03:00
Ivan Kopeykin 3ec8a60f67 add ability to set module source types in chunk 2022-03-16 09:23:33 +03:00
Tobias Koppers aca885c4f8
Merge pull request #15481 from webpack/fix/base-uri
add base uri runtime module if chunkLoading=false
2022-03-15 17:03:44 +01:00
Tobias Koppers 5cc3a39109
Merge pull request #15327 from webpack/fix/dont-count-optional-chaining-in-import-specifier
dont count optional chaining in import specifier
2022-03-15 16:56:06 +01:00
Tobias Koppers e184a03f25
Merge pull request #15524 from CommanderRoot/rm-deprecated-substr
fix: Replace deprecated String.prototype.substr()
2022-03-15 15:54:56 +01:00
Tobias Koppers 11ff696b30
Merge pull request #15531 from webpack/fix/evaluate-expression-api
fix `parser.evaluteExpression` api
2022-03-15 15:49:45 +01:00
Ivan Kopeykin b2fc854227 fix parser.evaluteExpression api 2022-03-15 15:37:17 +03:00
Tobias Koppers f43047c4c2
Merge pull request #15002 from TrickyPi/fix-14927
Fix 14927
2022-03-15 11:44:23 +01:00
Tobias Speicher 8f56fcba72
Replace deprecated String.prototype.substr()
String.prototype.substr() is deprecated (see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr) so we replace it with slice() which works similarily but isn't deprecated.
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
2022-03-13 22:54:18 +01:00