-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
自定义主题编译失败 #40
Comments
看着像是你 webpack extension 没配对 |
extensions: ['.web.js', '.js', '.json', '.web.jsx', '.jsx'], exclude: [/.js$/, /.html$/, /.json$/, /.less$/, /.svg$/], 然后我把1.X分支上面的demo代码拉下来运行create-react-app的demo也是报这个错呢。。 |
ok 我 check 一下 |
silentcloud
added a commit
that referenced
this issue
Oct 24, 2017
好的,谢谢了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
想请问下1.X的分支下的create-react-app demo是不能用了吗?是run eject之后的配置法。加入自定义主题会编译失败,试了多次都不行。
报错:
Failed to compile.
./node_modules/antd-mobile/lib/icon/style/index.less
Module build failed:
'use strict';
^
Unrecognised input
in E:\react\antd-mobile-samples\create-react-app\node_modules\antd-mobile\lib\style\themes\default.js (line 1, column 0)
The text was updated successfully, but these errors were encountered: