wps
wps copied to clipboard
Migrate frontend build to vite
Describe the task To speed up builds and reloading we can migrate to vite and away from crac: https://vitejs.dev/
Acceptance Criteria
- [ ] Frontend builds and deploys with vite as the build tool
- [ ] All tests pass (may require migrating from jest to vitest: https://vitest.dev/)
- [ ] All code coverage from jest and cypress tests are reported to codecov still
Additional context
- You can take a look at a previous attempt here: https://github.com/bcgov/wps/tree/experiment/migrate-to-vite, it's missing the last AC above requiring code coverage.