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

升级2.0.1后编译项目出现 “Module not found: ./locale”警告 #3411

Closed
shanzhizi opened this issue Oct 13, 2016 · 4 comments
Closed

Comments

@shanzhizi
Copy link

升级2.0.1后,编译项目报下面的警告:

Compiled with warnings.

Warning in .//.2.0.1@antd/dist/antd.js
Module not found: ./locale in ***\node_modules.2.0.1@antd\dist
@ ./
/.2.0.1@antd/dist/antd.js 8289:17-44

“***”好为路径前缀,这里做了处理。

@afc163
Copy link
Member

afc163 commented Oct 13, 2016

Fixed in #3204

@benjycui
Copy link
Contributor

这个应该是因为 parse 了构建后的文件?

试下 https://webpack.github.io/docs/configuration.html#module-noparse

@afc163
Copy link
Member

afc163 commented Oct 13, 2016

总结方案:#3204 (comment)

@afc163 afc163 closed this as completed Oct 13, 2016
@lock
Copy link

lock bot commented May 3, 2018

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators May 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants