Change8

@cloudflare/workers-playground@0.4.3

📦 cloudflare-workersView on GitHub →
🐛 1 fixes🔧 2 symbols

Summary

This patch fixes a TypeError occurring in Vite 8 builds by adjusting how the `@cloudflare/style-provider` package is resolved, accommodating Vite 8's switch to the rolldown bundler.

Migration Steps

  1. If building with Vite 8, alias `@cloudflare/style-provider` to its CJS entry (`lib/index.js`) in `vite.config.ts` to resolve runtime errors caused by rolldown mishandling the hybrid build.

🐛 Bug Fixes

  • Resolved TypeError: createRenderer is not a function when built with Vite 8 by aliasing @cloudflare/style-provider to its CJS entry point.

Affected Symbols

cloudflare-workers @cloudflare/workers-playground@0.4.3 - Change8