-
-
Notifications
You must be signed in to change notification settings - Fork 138
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
使用后多出上百个chunk文件 #5
Comments
webpack版本3.8.1 |
@zhenxianluo 这个问题我无能为力,你应该检查你的 webpack 打包规则。看 https://uiwjs.github.io/react-codemirror/ 它只有 3 个 chunk。 |
换成react-codemirror2已经好了, 谢谢 |
遇到同样的问题 用2.x版本也会这样 |
@luguosheng1314 这个是他的语言包。没有将所有的语言合并。 |
代码中不应该 import( |
@hua1995116 我们这边的应用场景是,不确定要支持哪个语言,需要按需自动加载 |
Lines 31 to 35 in bafa5dd
配置 webpack 减少 chunk 输出。 |
No description provided.
The text was updated successfully, but these errors were encountered: