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
- MC1519871: Microsoft Copilot Code Expands to Mobile and Mac with Local Sandbox for Frontier Users

- MC1557760: Microsoft Teams Increases Registration Capacity for Town Halls and Webinars to 20,000

- MC1557764: Agent 365 Business Analytics Adds Access Management for Admin Role and Permission Control

- MC1557754: Microsoft Copilot Adds Usage-Based Billing to Continue Model Access with Copilot Credits







