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

refactor: replace react-scripts (cra) with vite, and make necessary changes #206

Merged
merged 1 commit into from
Nov 5, 2024

Conversation

sebastianvitterso
Copy link
Collaborator

What does this pull request change, and why?

Create React App (CRA) isn't as modern anymore, and using vite is (in my opinion) a cleaner choice.

Also we've made the switch in most of our other projects, so it's about time we do it here too.

Doesn't really matter though, since we're switching only for the example project, just thought it would be nice.

Issues related to this change

None

@sebastianvitterso sebastianvitterso force-pushed the refactor/replace-react-scripts branch from 7a03c20 to d259412 Compare November 5, 2024 07:31
package.json Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
src/index.jsx Show resolved Hide resolved
src/index.jsx Show resolved Hide resolved
src/index.jsx Show resolved Hide resolved
src/index.jsx Show resolved Hide resolved
@@ -10,7 +10,7 @@ const authConfig: TInternalConfig = {
clientId: 'myClientID',
authorizationEndpoint: 'myAuthEndpoint',
tokenEndpoint: 'myTokenEndpoint',
redirectUri: 'http://localhost:3000/',
redirectUri: 'http://localhost:5173/',
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if I needed to change this one.

index.html Outdated Show resolved Hide resolved
@sebastianvitterso sebastianvitterso force-pushed the refactor/replace-react-scripts branch from d259412 to 531aa74 Compare November 5, 2024 07:34
@soofstad
Copy link
Owner

soofstad commented Nov 5, 2024

Seems to work! 🎉

@sebastianvitterso sebastianvitterso merged commit 7dbd49d into main Nov 5, 2024
6 checks passed
@sebastianvitterso sebastianvitterso deleted the refactor/replace-react-scripts branch November 5, 2024 08:38
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