Files
SpaceWanderer/next.config.ts
T
kamilkrzywda 1aba7958b3 infra: base stack config (Next 16 + React 19 + TS strict, Tailwind v4, sql.js/Drizzle deps)
Copied/adapted from Flight-Ops (../flight): tsconfig/next/vitest configs verbatim,
Dockerfile two-stage node:22-slim with node_modules in build context (zero outbound
network at image-build time), .dockerignore/.gitignore adapted. package.json renamed
to space-wanderer v0.1.0; dropped maplibre-gl + assets:download; added Tailwind v4,
Radix slot, cva/clsx/tailwind-merge for the scificn-ui component layer.
2026-09-28 15:56:10 +00:00

11 lines
377 B
TypeScript

import type { NextConfig } from 'next';
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;