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
/* webpackChunkName: "name" */ is not working #5857
Comments
I found that I remove all comments in |
demo: |
remove .babelrc comments attribute. I've solved it. |
It works for me. Great thx, dude |
Well that's funny. Worked for me too. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Do you want to request a feature or report a bug?
bug
What is the current behavior?
/* webpackChunkName: "name" */ is not working
If the current behavior is a bug, please provide the steps to reproduce.
Reproduce
I would like this two component to be bundled in one file:
Here is my configuration:
But after I run webpack, I got this:
What is the expected behavior?
AsyncOne and AsyncTwo are packed in one file
name.bundle.chunk.js
.Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.
node: 6.11.4
os: macOS 10.13
webpack: 3.8.1
The text was updated successfully, but these errors were encountered: