Change8

@cloudflare/vite-plugin@1.46.0

📦 cloudflare-workersView on GitHub →
1 features🔧 3 symbols

Summary

Introduces a new experimental configuration structure for `cloudflare.config.ts` that separates account-level settings into a dedicated `settings` export. This change enhances the organization of configuration options for Workers.

Migration Steps

  1. If using account-level settings in `cloudflare.config.ts`, refactor them to use the new `settings` export with `defineSettings` instead of defining them directly on the Worker config. Example: `export const settings = defineSettings({ accountId: "<your-account-id>" });`

✨ New Features

  • Account-level settings like `accountId` and `complianceRegion` are now managed via a dedicated `settings` export using `defineSettings` in `cloudflare.config.ts`. This change is part of the experimental new-config path.

Affected Symbols