The .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 stringimport example from "./example.sql";Source: Cloudflare
Latest Posts
- MC1506318: Copilot Studio Retires Selected AI Models and Migrates Agents to Replacement Models

- Amazon Connect Customer expands testing and simulation to validate flow action outcomes

- AWS Key Management Service now supports ML-KEM for post-quantum key encapsulation

- Amazon RDS now supports the latest Cumulative Update and GDR updates for Microsoft SQL Server







