diff --git a/.changeset/four-ladybugs-wait.md b/.changeset/four-ladybugs-wait.md new file mode 100644 index 00000000000..1e20b75c8e5 --- /dev/null +++ b/.changeset/four-ladybugs-wait.md @@ -0,0 +1,5 @@ +--- +"@remix-run/dev": patch +--- + +Allow importing `.sql` files as text diff --git a/packages/remix-dev/compiler/loaders.ts b/packages/remix-dev/compiler/loaders.ts index c35b9598274..b6341d6a09b 100644 --- a/packages/remix-dev/compiler/loaders.ts +++ b/packages/remix-dev/compiler/loaders.ts @@ -22,6 +22,7 @@ export const loaders: { [ext: string]: esbuild.Loader } = { ".ogg": "file", ".otf": "file", ".png": "file", + ".sql": "text", ".svg": "file", ".ts": "ts", ".tsx": "tsx",