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

Use Vite #279

Merged
merged 4 commits into from
Mar 21, 2023
Merged

Use Vite #279

merged 4 commits into from
Mar 21, 2023

Conversation

jonathonherbert
Copy link
Contributor

@jonathonherbert jonathonherbert commented Mar 21, 2023

What does this change?

Use Vite, not webpack, for our client side builds.

Why?

edit-realtime

Previously, Scala was recompiling as a result of asset changes, so this is a significant improvement to the feedback loop when developing server side.

How to test

Run locally by running ./scripts/start-manager. The app should run locally as expected, backgrounding the build server. Try changing something in the components. The app should update in realtime.

Test the build process – which is quite different from the local dev process! – by deploying to CODE. The app should run as expected.

  • Tested in CODE.

How can we measure success?

A better feedback loop for devs, and a smaller bundle size in production.

@jonathonherbert jonathonherbert marked this pull request as ready for review March 21, 2023 15:39
@jonathonherbert jonathonherbert requested a review from a team as a code owner March 21, 2023 15:39
Copy link
Contributor

@phillipbarron phillipbarron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love it. Tested locally, all working 🎉

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