Skip to content

@cloudflare/vite-plugin@2.0.0-beta.v.15

Pre-release
Pre-release

Choose a tag to compare

@workers-devprod workers-devprod released this 11 Nov 14:55
· 15 commits to main since this release
Immutable release. Only release title and notes can be modified.
cc238b2

Patch Changes

  • #16761 4d157fb Thanks @jamesopstad! - Serve assets imported by prerender Workers and child environments

    The client output now includes assets imported by the dedicated prerender Worker and by built child environments of the production entry or prerender Workers.

  • #16761 4d157fb Thanks @jamesopstad! - Avoid rebuilding environments already built in a pre buildApp hook

    When another plugin builds a Worker or client environment in a buildApp hook with order: "pre", the Cloudflare plugin now skips rebuilding that environment.

    When using a custom builder.buildApp, the plugin now completes any required client build and makes assets imported by the entry Worker available to serve. Previously, custom builders skipped these steps.

  • #16761 4d157fb Thanks @jamesopstad! - Stop emitting Vite manifests for Worker environments by default

    Enable build.manifest explicitly if your tooling requires these manifests.

  • #16830 88c774b Thanks @jamesopstad! - Always name cf in actionable messages

    Vite plugin v2 is only compatible with cf, so messages that tell you which CLI or command to use now always name cf. Previously they named Wrangler unless Vite was started by cf.

  • #16682 5966749 Thanks @ghostwriternr! - Stop suggesting settings that do not exist when Docker is unavailable

    When Docker could not be reached, the error suggested setting dev.enable_containers to false in cloudflare.config.ts or passing --enable-containers=false. cloudflare.config.ts has no such setting and the Vite plugin has no such flag, so the error no longer suggests them.

  • Updated dependencies [877b249, 69e650c]: