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

v3.0.0-beta.10 is not split out webpack runtime code #1297

Closed
yangmingshan opened this issue May 15, 2018 · 1 comment
Closed

v3.0.0-beta.10 is not split out webpack runtime code #1297

yangmingshan opened this issue May 15, 2018 · 1 comment

Comments

@yangmingshan
Copy link
Contributor

Version

3.0.0-beta.10

Reproduction link

no need

Steps to reproduce

npm run build

What is expected?

webpack runtime code is split out and inline to html

What is actually happening?

webpack runtime code is inside app.js


webpack optimization.runtimeChunk is disabled by default for zero config reason, see this issue, so need set it to true to split out webpack runtime code.

@yyx990803
Copy link
Member

webpack 4 already handles correct hash for vendor chunks, there's little point in splitting the runtime chunk anymore.

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

2 participants