-
Notifications
You must be signed in to change notification settings - Fork 0
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
Consider Vite #57
Comments
Static HTMLProbably feasible. In dev, we can use server-side rendering. For prod, we could somehow generate the files. JS sizeThis is PITA:
Using Vite just for dev (and maybe SASS)Vite requires minimal code changes, so we could use Vite for dev and SBT-web for prod. (And probably get rid of Play framework.) This way, we would probably still want to use SASS compilation by Vite, because sbt-sass uses an outdates SASS compiler and because it seems to be easier to integrate it this way than the other way around. |
In order to share node_modules between scalajs-bundler and Vite, we could use NODE_PATH variable. |
JS size seems to be somehow manageable as long as I can use |
At this point, the feature/vite branch is somewhat useful. While I cannot build it, I can use it when developing (must faster turnaround) and then cherry-pick the commits to devel branch. |
When this is done, we can replace divisions in SCSS by math.div. Until then, we use an old SASS version, which doesn't allow to do that. |
Usage in dev
Todo for production
Checklist for production
Depends on #56 (done).
The text was updated successfully, but these errors were encountered: