feat: v0.6.0 — data foundation: Drizzle ORM + SQLite (sql.js/WASM) persistence, first-run seed, read-only GET /api/state snapshot
This commit is contained in:
+6
-1
@@ -1,5 +1,10 @@
|
||||
import type { NextConfig } from 'next';
|
||||
|
||||
const nextConfig: NextConfig = {};
|
||||
const nextConfig: NextConfig = {
|
||||
// sql.js loads its SQLite WASM blob relative to its own dist/ dir at runtime;
|
||||
// bundling it into a .next chunk would break that resolution. Keeping it
|
||||
// external means require('sql.js') hits node_modules (kept in the image).
|
||||
serverExternalPackages: ['sql.js'],
|
||||
};
|
||||
|
||||
export default nextConfig;
|
||||
|
||||
Reference in New Issue
Block a user