-
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
A rollup sample is required #46
Comments
actually, i cloned ant design mobile, and change it by using rollup re-compile, you can see here: https://github.com/chalecao/preact-h5-ui (change some dynamic to make it act normal for es module import) |
you can use my preact-h5-ui, here is the rollup.config.js, import buble from 'rollup-plugin-buble' export default [{ |
Stop filling github with chines. instead focus on programmer issue for sake of good! this is an international website after all. please be helpfull! |
@B-Esmaili It's better for helping others with English here for no doubts by all means I think, but in the fact of that it would increase the cost for helping for people who did not born in English-based country and has poor English skills. I don't think we have rights for imperatively asking people who just want to give some helps. So we could just ignore it, translate it with google translate or go learning Chinese(it's interesting!) :) |
@JasinYip I think creators of an international library should be able to read / write in English if you don't mind me saying. beside I don't ask anyone help me forcibly neither wanna get premium support for a commercial product , i am here asking about very primary behavior of an opensource library which is supposed to be working by definition. |
React 16 has changed to bundle with rollup, for a smaller file size and runtime performance:
However, as we all know, rollup configuration is painful, and some rc-components is not really friendly to rollup, even React changes the source code to workaround rollup bug. So, maybe a rollup sample is required.
BTW. React seems to prepare to add an es version, and then a rollup sample of antd-mobile will be a little bit easier.
The text was updated successfully, but these errors were encountered: