Skip to content

0.15.0

Compare
Choose a tag to compare
@frandiox frandiox released this 27 Jul 22:23
· 161 commits to master since this release

Features

  • πŸ”₯ New preview mode: vitedge preview or vitedge preview --build-watch. This mode runs the app in Miniflare to create a local environment more similar to workers (faster than wrangler dev). Thanks to @mrbbot for all the help!
  • πŸŽ‰ Vitedge can now generate the final worker script using ESBuild optionally, which replaces Wrangler's Webpack build.
  • Add support for import.meta.env object in functions directory (similar to process.env, but more consistent with Vite's behavior).
  • Support build watch: vitedge build --watch.

Fixes

  • Undefined waitUntil in API calls during SSR run.