Workers - Import SQL files as additional modules by default
5mo ago
Source
CloudflareWorkers - Import SQL files as additional modules by defaultcloudflare.comThe .sql file extension is now automatically configured to be importable in your Worker code when using Wrangler or the Cloudflare Vite plugin . This is particular useful for importing migrations in Durable Objects and means you no longer need to configure custom rules when using Drizzle . SQL files are imported as JavaScript strings: // `example` will be a JavaScript string import example from "./example.sql"
You might also wanna read
Cloudflare expands AI bot management tools with granular traffic controls for all customers
Cloudflare is celebrating the second "Content Independence Day" by expanding AI traffic management options for all website owners. Building
Workers - Simpler runtime types with @cloudflare/workers-types v5
Cloudflare·2d ago
AI Search - Manage AI Search sync jobs with Wrangler CLI
Cloudflare·3d ago
Workers - Work across multiple accounts with Wrangler auth profiles
Cloudflare·3d ago
Cache - Cache multiple versions of a URL with Vary
Cloudflare·3d ago
Cloudflare One - Hostname routing for Cloudflare Mesh
Cloudflare·3d ago

Comments
Sign in to join the conversation.
No comments yet. Be the first.