Files
nail/next.config.ts
2026-03-29 19:17:02 +01:00

22 lines
482 B
TypeScript

// next.config.ts
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
turbopack: {
// Turbopack handles WASM and workers natively — no extra rules needed
},
async headers() {
return [
{
source: "/(.*)",
headers: [
{ key: "Cross-Origin-Opener-Policy", value: "same-origin" },
{ key: "Cross-Origin-Embedder-Policy", value: "require-corp" },
],
},
];
},
};
export default nextConfig;