- Use express-static-gzip for improved static file serving (#144)
- Bump dependencies
Contributors: @je4ngomes
- Fix issue where passing the server config disables inline config (#140)
- Bump dependencies
Contributors: @Vija02
- Allow specyfing
vite-express
verbosity level (#128) - Add possibility to override default
express.static()
options (#134) - Respect HMR options from Vite config (#135)
Contributors: @srguiwiz, @lucasavila00
- Export getViteConfig as a part of public API (#124)
Contributors: @srguiwiz
- Add support for express v5 (#116)
- Fix relative imports in subpath index.html files (#114)
Contributors: @elturpin
Contributors: @rmhaiderali
- Add ability to specify location of vite config (#102)
- Support async html transformer function (#103)
Contributors: @peterlama
- Make Vite middleware use current server for HMR WebSocket (#100)
- Emit event when the Vite dev server has finished closing (#98)
Contributors: @elturpin, @patreeceeo, @pontusva
- Mount middlewares that serve HTML at
config.base
instead of/
(#91)
Contributors: @rmhaiderali
- Add support for multipage apps (#88)
Contributors: @elturpin
- Use export assignment syntax in types declaration (#74)
- Bump word-wrap from 1.2.3 to 1.2.4 (#73)
- Bump vite from 4.0.4 to 4.0.5 (#66)
- Load HTML on every request
- Merge custom config with inline Vite's config when starting dev server
- Allow specyfing HTML transformer (#65)
- Implement
viteless
mode (#64) - Bump socket.io-parser from 4.2.2 to 4.2.3 (#61)
- Add Vite base support (#57)
- Remove
node-fetch
from dependencies
Contributors: @moonrailgun
- Use
Vite Dev Server
in middleware mode when running in development instead of a proxied separate Vite process - Temporarily drop support for multi-page apps
- Turn off
index.html
serving functionality ofexpress.static()
middleware in production mode
Contributors: @Julienng
- Add
ViteExpress.static()
middleware-like function to change the order ofvite-express'
injected static files serving middleware.
- Stop using redirection to Vite Dev Server when serving static files in dev mode.
- Fix inability to set
ViteExpress.config
settings to falsy values - Bump
yaml
package version to avoid vulnerabilities
Contributors: @tomayac
- Pass request path correctly into HTML serving middleware in dev mode
- Make Vite's port not be printed out to console by default.
- Add config option to control that behaviour
- Make
picocolors
a runtime dependency instead of peer dependency.
Contributors: @mortalYoung
- Add
picocolors
as a peer dependency to package.json
- Print url schema correctly when Vite is running in https mode
Contributors: @maxbeatty, @hankthetank27, @vinceps