We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Why remove the id of runtime chunk from the entriesPart in JsonpTemplatePlugin
What is the current behavior?
./dist/runtime.js
// ... /******/ var installedChunks = { /******/ 666: 0 /******/ }; // ...
./dist/main.js
(window["webpackJsonpw5"] = window["webpackJsonpw5"] || []).push([[179],{ /***/ 138: /***/ (() => { console.log(1); /***/ }) },[[138]]]);
If the current behavior is a bug, please provide the steps to reproduce.
./src/index.js
console.log(1);
./webpack.config.js
module.exports = { entry: { main: './src/index.js' }, optimization: { minimize: false, runtimeChunk: 'single' } };
./package.json
{ "devDependencies": { "webpack": "5.0.0-beta.23", "webpack-cli": "^4.0.0-beta.2" }, "scripts": { "build": "webpack --config webpack.config.js", } }
What is the expected behavior?
(window["webpackJsonpw5"] = window["webpackJsonpw5"] || []).push([[179],{ /***/ 138: /***/ (() => { console.log(1); /***/ }) },[[138, 666]]]);
When I use webpack@5.0.0-beta.18 and below versions, the behavior is expected.
Other relevant information: webpack version: Node.js version: v13.14.0 Operating System: macOS Catalina 10.15.2
The text was updated successfully, but these errors were encountered:
only use chunks with js for entry deferring code
8ca593e
That was not intended, it's a bug. Do you want to send a PR?
Sorry, something went wrong.
ok, let me have a try.
Merge pull request #11281 from l5oo00/master
68bcf1a
fix: add the id of runtime chunk to entryInfo #11279
Successfully merging a pull request may close this issue.
Bug report
Why remove the id of runtime chunk from the entriesPart in JsonpTemplatePlugin
What is the current behavior?
./dist/runtime.js
./dist/main.js
If the current behavior is a bug, please provide the steps to reproduce.
./src/index.js
./webpack.config.js
./package.json
What is the expected behavior?
./dist/runtime.js
./dist/main.js
When I use webpack@5.0.0-beta.18 and below versions, the behavior is expected.
Other relevant information:
webpack version:
Node.js version: v13.14.0
Operating System: macOS Catalina 10.15.2
The text was updated successfully, but these errors were encountered: