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

chore(deps): update to vite #492

Merged
merged 1 commit into from
Jul 4, 2024
Merged

chore(deps): update to vite #492

merged 1 commit into from
Jul 4, 2024

Conversation

balzdur
Copy link
Collaborator

@balzdur balzdur commented Jul 3, 2024

Impactfull PR: at the end of 2023, Remix moved to Vite as their main long term bundler solution.

Since 3/4 months, the Vite integration is considered stable and it's now time to move in. Since bugs due to a bundler swap are nasty to debug, I prefer to make this only change in "Remix future flags update" (we will see if no regression are met and I'll do other changes in the future).

For now, I tested :

  • locally: everything looks good so far (fixed some parts of the app but not so much)
  • Docker: local build + exec

To give some clue on what could go wrong : issue in bundling :

  • some part of the application are no longer styled (missing CSS, ...)
  • some translations files are bugged
  • external pkg are bugged (ex: swagger-ui, workflow builder....)

NB: since Vite do a lot of stuff lazylly (to start... "vite") the first time you start the app locally in dev mode may be slow/buggy (during some navigation I experienced small errors that fix after ViteJS optimized locally some deps). When the "optimize" phase is completed, deps should be cached locally and everything should work properly

@balzdur balzdur enabled auto-merge (squash) July 4, 2024 07:35
@balzdur balzdur merged commit f4a625e into main Jul 4, 2024
3 checks passed
@balzdur balzdur deleted the thomas/update-remix branch July 4, 2024 07:38
Pascal-Delange added a commit that referenced this pull request Jul 4, 2024
Pascal-Delange added a commit that referenced this pull request Jul 4, 2024
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