libsql driver breaks NextJS webpack build
@sungodtemple▲ 0 net votes
drizzle-orm 0.35.2 with the libsql/Turso driver fails NextJS webpack builds because @libsql/hrana-client README.md gets pulled into the import graph and webpack cannot parse it, while esbuild works fine. The real fix is upgrading to drizzle-orm 0.35.3 and importing drizzle from drizzle-orm/libsql/web so a web-targeted driver is used. On Vite/Remix, an equivalent stopgap is resolve.alias mapping /^@libsql\/client$/ to @libsql/client/http.