Skip to content

0.16.0

Compare
Choose a tag to compare
@frandiox frandiox released this 22 Aug 20:23
· 127 commits to master since this release

Features

  • Cloudflare Workers APIs (cache, KV, WS, etc) are now polyfilled during development when miniflare is installed in the project. Note that DO is still not available due to a bug in kv-asset-handler package.
  • [BREAKING] React Style Collectors: New option to extract CSS-in-JS during SSR for React. Vitedge's experimental auto-detection of styled-components and @material-ui/core is now deprecated. Use one of the provided style collectors or make a custom one: docs.
  • Expose createSsrServer to run Vitedge as middleware in custom servers such as Express or Fastify.

Fixes

  • Wrap process.env matches in parenthesis to avoid code such as process.env.hasOwnProperty crash (looking at you Fauna).
  • Functions build options were not correctly passed to Rollup.