-
Notifications
You must be signed in to change notification settings - Fork 401
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
Add suffix option #116
Comments
@sorrycc 觉得如何,我也碰到需要能指定 I can send a PR if you approve this change. |
use webpack resolve |
antd-mobile 的测试 native 和 web 同时跑的话只能靠这个插件来处理。 |
@ @ 我在 https://github.com/ant-design/antd-demo-jest 里处理吧。 |
这是我在尝试 antd-mobile 用于 SSR 过程中碰到的问题,当时的想法有点简单了,实际处理起来要更加复杂。光凭这个 PR 不足以解决问题。 要想真正解决 SSR 问题,服务端只能是 hacker require.extensions |
@yesmeck 抱歉,这几个星期比较忙,刚看到。欢迎 PR。 |
@yesmeck webpack resolve 应该可以解决这个问题? native 和 web 同时跑可以起两个node,用两份webpack配置么? |
If you add a
suffix
option like this. Maybe this can save time for antd-mobile usersThen transform
import { Button } from 'antd-mobile'
tovar _button = require('antd-mobile/lib/button/index.web')
The text was updated successfully, but these errors were encountered: