You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using drizzle-orm for my database and therefore my schema is written in typescript. I like to add the .sql suffix to the files so I can glob them without them being in the same folder: example.sql.ts
Since 2.10.0 this is broken.
imports like import { ... } from './example.sql' look like it can break. But it worked before
Additional context
I also tried example.pdf.ts which does work.
Logs
No response
The text was updated successfully, but these errors were encountered:
Environment
nitro 2.10.0
Reproduction
https://stackblitz.com/edit/github-56mf2v?file=server/test.sql.ts
Describe the bug
I'm using drizzle-orm for my database and therefore my schema is written in typescript. I like to add the
.sql
suffix to the files so I can glob them without them being in the same folder:example.sql.ts
Since
2.10.0
this is broken.imports like
import { ... } from './example.sql'
look like it can break. But it worked beforeAdditional context
I also tried
example.pdf.ts
which does work.Logs
No response
The text was updated successfully, but these errors were encountered: