WGBH-MLA / ov-frontend

Open Vault Frontend
https://wgbh-mla.github.io/ov-deploy
0 stars 0 forks source link

🏎 Vite #38

Closed mrharpo closed 2 months ago

mrharpo commented 7 months ago

Vite

What

Vite (French word for "quick", pronounced /vit/, like "veet")

Why

From the Remix Future docs:

Vite is a powerful, performant and extensible development environment for JavaScript projects. In order to improve and extend Remix's bundling capabilities, we now support Vite as an alternative compiler. In the future, Vite will become the default compiler for Remix.

How

This PR follows the migration guide, and gets a working version rendering!

When

It's ready to go now!

foglabs commented 7 months ago

@mrharpo is the change from ~/foldername to ../foldername a change for vite or a preferred style?

mrharpo commented 7 months ago

@foglabs Vite had trouble resolving the ~/. Would definitely prefer the ~ in most cases.

I tried a few things (can't remember which), but that was the first thing that fixed it.

mrharpo commented 5 months ago

Remix Vite is now stable with Remix 2.7.0 🎉