rollup does not like the migrations.js for durable object.
So i had this issue months and months ago. so maybe we have a solution for this now? i think drizzles issues on github are still kind of ignore until v1.
so basically the sql import breaks rollup with a nice (migrations.js)
so you either edit the file and give it that .sql?raw
or you have a lil hack in your vite config like
and
assetsInclude: ['**/.sql'],
0 Replies