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

Polyfills Best Practices #13

Open
richardzyx opened this issue Feb 14, 2018 · 2 comments
Open

Polyfills Best Practices #13

richardzyx opened this issue Feb 14, 2018 · 2 comments

Comments

@richardzyx
Copy link

Hi all, it seems that there's no documentation on how to do polyfills with antd for create-react-app? I found some basic setup in the ant-design-pro src/index.js file but not sure which ones are absolute necessary. Thanks!

@ghost
Copy link

ghost commented Feb 15, 2018

There is a good way to modify create-react-app's internal webpack configurations - react-app-rewired.

I made a module inspired by this project to rewire antd into create-react-app APP - react-app-rewire-antd. Maybe this is what you need.

@richardzyx
Copy link
Author

Ah yes that's a very helpful reference with instructions. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant