Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

migrated CRA to Vite and made necessary changes #301

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

HelloSniperMonkey
Copy link

chore(build process changed from CRA to Vite): migrated from CRA to Vite

this adresses #286

changes :

  • added Vite and its dependencies to package.json
  • moved index.html from public folder to root because Vite requires the index.html file to be at the root folder and changed necessary path of files accessed by index.html
  • made minor changes to index.html file like adding script tag for vite to work
  • changed process.env to import.meta.env at multiple places as vite uses later as opposed to former being used by CRA
  • some changes were made to yarn.lock file to work with Vite

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

Successfully merging this pull request may close these issues.

1 participant