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

Replace CRA with Vite #315

Open
wants to merge 12 commits into
base: dev
Choose a base branch
from
Open

Replace CRA with Vite #315

wants to merge 12 commits into from

Conversation

ddrosario
Copy link
Collaborator

Created a new branch from @fwextensions branch. Rebased cloned branch with dev and resolved conflicts

fwextensions and others added 11 commits August 30, 2023 19:17
Move index.html to root directory. 🙄
Import the CJS modules using `import *` syntax to get the compile errors to stop, though it probably won't work.
Add vite, react plugin and vite.config.js.
Without it, we can't access the vite dev server from outside docker.
Use * instead of the file: path for the shared package, so that changes are picked up immediately.
Use the correct comboBox import instead of using a relative path to node_modules.
Change convertToPropType.js to ESM.
Add shared to the workspaces array.
Tell prettier to ignore vite.config.js.
Clarify how sub-package imports work with shared.
Move the test command into e2e/package.json from the playwright config.
Clean up client/package.json.
Seriously, go away prettier.
Move dev deps to devDeps in client/package.json.
Remove setupProxy.js, which is no longer needed.
Avoids having to use ../shared in optimizeDeps inside vite.config.js.
Update shared/README.md with info on the difference.
That command never finishes, so having it in the e2e test script means playwright never gets started.
@ddrosario ddrosario changed the title Ddrosario/feat/try vite Replace CRA with Vite Sep 7, 2023
@ddrosario
Copy link
Collaborator Author

ddrosario commented Sep 21, 2023

One thing I have noticed is that Vite will hang when navigating to a new page. It happens intermittently for me and it will only happen after the initial build

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.

None yet

2 participants