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

关于import的Magic Comments的chunkname #3

Closed
devinRex opened this issue Aug 15, 2017 · 3 comments
Closed

关于import的Magic Comments的chunkname #3

devinRex opened this issue Aug 15, 2017 · 3 comments

Comments

@devinRex
Copy link

请问下,这个不是webpack3才加的特性么,为什么项目在webpack2.4.1下能生效,我在2.6.0版本的webpack下试了build后chunk的名字也没变,百思不得其解

@lyyourc
Copy link
Owner

lyyourc commented Aug 15, 2017

2.4.1 就已经支持了:https://github.com/webpack/webpack/releases?after=v2.4.1
至于 2.6.0 如果使用姿势正确但还是无效的话,估计是 bug 😂

@devinRex
Copy link
Author

我再去研究一哈,多谢

@devinRex
Copy link
Author

vuejs-templates/webpack#730 原因出在这,应该是babel删除注释的操作进行的太早了。。

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