Skip to content

DllPlugin: When processing multiple chunks, does the path option must have a string template? #18200

Answered by alexander-akait
cwj0417 asked this question in Q&A
Discussion options

You must be logged in to vote

To reproduce: change path option in examples/dll/webpack.config.js to path.join(__dirname, "dist", "manifest.json"), and run node build.js for several times, manifest.json is occasionally written to an illegal json.

Yes, we can improve and output an error, feel free to send a PR to improve it

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by cwj0417
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #18199 on March 15, 2024 11:16.