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: refactor apps/router from create-react-app to vite #615

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alexlwn123
Copy link
Member

create-react-app has been deprecated for years. Let's upgrade to modern tools.

vite is a natural choice.

This is messy, but it's in a working state. Will clean it up later.

Changes

  • swapped out react-scripts with vite
  • Change envs to use vite's format (REACT_APP... -> VITE_..., process.env.* -> import.meta.env.*)
  • Added vitest
  • updated configs
  • fixed linting issues

Copy link

vercel bot commented Feb 7, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ui ❌ Failed (Inspect) Feb 7, 2025 8:58pm

@alexlwn123
Copy link
Member Author

The bloat of create-react-app on display 💀💀💀

image

@tsmith123
Copy link
Collaborator

This is going to have some messy conflicts after #610 PR goes in.

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.

2 participants