Skip to main content

One post tagged with "Vitesse"

Posts about the Vitesse add-on, Vite for ExpressionEngine.

View All Tags

Introducing Vitesse: Vite for ExpressionEngine

· 4 min read
Nerdgency
ExpressionEngine add-ons

Vitesse 1.0: Vite for ExpressionEngine

Vite has become the way front ends are built: an instant dev server, changes on screen as you save, and a fast, tidy production build. Using it with ExpressionEngine has meant writing the glue yourself: working out which hashed file to load, remembering the CSS your scripts import, switching between the dev server and the build.

Vitesse is that glue, done properly, and it's free. Tell a template which entry points it needs, and Vitesse prints the right tags, whether Vite's dev server is running or you've just built for production.

  • Hot module replacement while you work: save a stylesheet and the page updates.
  • Hashed, preloaded files when you publish, read from Vite's manifest.
  • The same template for both, with no switch to flip.
  • Stylesheets in the head, scripts in the footer, each file once.
  • Ready for production: CDN base URLs, CSP nonces and subresource integrity.