增加对 webpack5 的支持#114
Merged
hzsrc merged 4 commits intohzsrc:masterfrom Dec 14, 2022
linpengteng:master
Merged
Conversation
Closed
Owner
|
Good job! |
Owner
|
你好!我测试了下,有点小问题,就是这里injectToHtml配置为false或不配置时, 推测是这个地方产生了冲突, |
Contributor
Author
|
好的,我这周看下 |
Owner
|
我又研究了一下,解决了,目前没发现有问题。 |
Contributor
Author
|
Good,之前是什么原因导致? |
Owner
|
CashedSource这个类没有node()方法导致报错了 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


当 webpack 版本 >= 5 时,使用 compilation.hooks.processAssets 和 compilation.emitAsset Api 以实现 Webpack5 的支持