Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2.2.1版本修改factory.getPlugin返回值无效 #193

Closed
SugarTeam opened this issue Aug 12, 2019 · 1 comment
Closed

v2.2.1版本修改factory.getPlugin返回值无效 #193

SugarTeam opened this issue Aug 12, 2019 · 1 comment

Comments

@SugarTeam
Copy link

SugarTeam commented Aug 12, 2019

factory.getPlugin("MiniCssExtractPlugin").options.chunkFilename = "[id].[chunkhash].css";
console.log(factory.getPlugin("MiniCssExtractPlugin").options);

image

chunkFilename这个值还是原来的值

@justquanyin
Copy link
Collaborator

按照你给的代码,试了一下,是可以修改成功的。
不知道你给的这段代码是不是最小可复现的代码?

@njugray njugray closed this as completed Aug 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants