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

feat: create-react-app 5 support #48

Merged
merged 19 commits into from
Jan 10, 2022
Merged

feat: create-react-app 5 support #48

merged 19 commits into from
Jan 10, 2022

Conversation

pradel
Copy link
Owner

@pradel pradel commented Dec 21, 2021

🚀 create-react-app 5 is now supported 🚀

Breaking Changes

  • Removed the enableSvgr and svgrOptions options. Svgr is now working out of the box.
  • Drop support for CRA 3 and 4. As many underlying libraries have changed, CRA 4 and 3 are no longer supported. Check the CRA changelog to see what changed.

Migrating from 0.4.X to 0.5.X

  • You will first need to migrate your project to CRA 5. See the CRA Migration guide for more information.
  • Upgrade craco-esbuild to version 0.5.0 or higher in your project.
  • If you are using enableSvgr or svgrOptions you can remove them from the craco.config.js file. Svgr is now working out of the box.

@pradel pradel changed the title feat: test create-react-app 5 examples feat: add create-react-app 5 examples Dec 21, 2021
@pradel pradel mentioned this pull request Dec 21, 2021
@pradel pradel changed the title feat: add create-react-app 5 examples feat: add create-react-app 5 support Dec 21, 2021
@pradel pradel changed the title feat: add create-react-app 5 support feat: create-react-app 5 support Dec 21, 2021
@pradel pradel marked this pull request as ready for review December 21, 2021 15:09
@omichowdhury
Copy link

Hi @pradel , would really like to see this merged soon for a new project I'm starting.

Thanks for this repo, and happy new year!

@ethangclark
Copy link

Hi @pradel -- thanks for the awesome plugin!

Like @omichowdhury, I am also anxious to see this merged :)

@pradel pradel merged commit f276f85 into main Jan 10, 2022
@pradel pradel deleted the feature/cra-5-examples branch January 10, 2022 18:10
@github-actions github-actions bot mentioned this pull request Jan 10, 2022
@pradel
Copy link
Owner Author

pradel commented Jan 10, 2022

@omichowdhury @8balloon released as 0.5.0 🚀

@ethangclark
Copy link

@pradel thank you!!!

@omichowdhury
Copy link

Thanks @pradel works great 🙏🏽

@gegorov gegorov mentioned this pull request Feb 22, 2022
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

Successfully merging this pull request may close these issues.

3 participants