Repository navigation
@cloudflare/vite-plugin@2.0.0-beta.v.15
Pre-releasePatch Changes
-
#16761
4d157fbThanks @jamesopstad! - Serve assets imported by prerender Workers and child environmentsThe client output now includes assets imported by the dedicated prerender Worker and by built child environments of the production entry or prerender Workers.
-
#16761
4d157fbThanks @jamesopstad! - Avoid rebuilding environments already built in a prebuildApphookWhen another plugin builds a Worker or client environment in a
buildApphook withorder: "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
4d157fbThanks @jamesopstad! - Stop emitting Vite manifests for Worker environments by defaultEnable
build.manifestexplicitly if your tooling requires these manifests. -
#16830
88c774bThanks @jamesopstad! - Always namecfin actionable messagesVite plugin v2 is only compatible with
cf, so messages that tell you which CLI or command to use now always namecf. Previously they named Wrangler unless Vite was started bycf. -
#16682
5966749Thanks @ghostwriternr! - Stop suggesting settings that do not exist when Docker is unavailableWhen Docker could not be reached, the error suggested setting
dev.enable_containersto false incloudflare.config.tsor passing--enable-containers=false.cloudflare.config.tshas no such setting and the Vite plugin has no such flag, so the error no longer suggests them. -
Updated dependencies [
877b249,69e650c]:- @cloudflare/config@0.32.0
- miniflare@5.20261110.1-beta
- @cloudflare/build-output-utils@0.9.13
- @cloudflare/runtime-types@0.1.26