feat: bootstrap multi-tenant storefront showcase

This commit is contained in:
2026-06-29 12:06:10 +01:00
commit 1c9e946464
11 changed files with 763 additions and 0 deletions

21
next.config.ts Normal file
View File

@@ -0,0 +1,21 @@
import type { NextConfig } from 'next';
const nextConfig: NextConfig = {
reactStrictMode: true,
// Each storefront is a fully static build, deployed to its own Cloudflare
// Worker. No server runtime is needed — the @store CSS technique and the
// per-store copy are resolved entirely at build time.
output: 'export',
// Pin the workspace root: sibling projects carry their own lockfiles and
// Next would otherwise warn while inferring it.
outputFileTracingRoot: import.meta.dirname,
trailingSlash: true,
images: {
unoptimized: true,
},
env: {
NEXT_PUBLIC_STORE_CODE: process.env.NEXT_PUBLIC_STORE_CODE || 'executive',
},
};
export default nextConfig;