Open PhotoNomad0 opened 7 months ago
Notes
Attempted:
Steps:
process.env
to use import.meta.env
VITE_
to the start of the name Setting up vitest:
Still do do:
Maybe this s.o. thread is of help re. using babel, or not: https://stackoverflow.com/questions/72344723/is-it-required-babel-configuration-when-i-use-vite-in-place-of-webpack
I think it would be good to remove babel in order to reduce complexity... or what would be the benefit of keeping it?
Would this maybe be of help for jest migration: https://vitest.dev/guide/migration.html#migrating-from-jest
Re downgrading vite, node and react
@larsgson it was @material-ui's ThemeProvider it was generating all sort of compatibility issues
Would this maybe be of help for jest migration: https://vitest.dev/guide/migration.html#migrating-from-jest
@larsgson - It looks like what we want, but looks like it could be significant work converting from jest to vitest.
Would this maybe be of help for jest migration: https://vitest.dev/guide/migration.html#migrating-from-jest
@larsgson - It looks like what we want, but looks like it could be significant work converting from jest to vitest.
OK, was able to get it working for now.
Note: Test by deploying to Netlify to a new site(for testing)
Determine what it will take to convert GWE from Using Nextjs to Vite. See if that improves/accelerates development.