mirror of
https://github.com/kjanat/livedash-node.git
synced 2026-02-13 10:29:31 +01:00
- Fix syntax errors in skills markdown files (.github/skills, .opencode/skills) - Change typescript to tsx for code blocks with JSX - Replace ellipsis (...) in array examples with valid syntax - Separate CSS from TypeScript into distinct code blocks - Convert JavaScript object examples to valid JSON in docs - Fix enum definitions with proper comma separation
21 lines
657 B
JavaScript
21 lines
657 B
JavaScript
import path from "node:path";
|
|
import { fileURLToPath } from "node:url";
|
|
|
|
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
|
|
/**
|
|
* @type {import('next').NextConfig}
|
|
**/
|
|
const nextConfig = {
|
|
reactStrictMode: true,
|
|
// Allow cross-origin requests from specific origins in development
|
|
allowedDevOrigins: ["localhost", "127.0.0.1"],
|
|
// Set workspace root to this project directory
|
|
outputFileTracingRoot: __dirname,
|
|
// Cache Components enabled - dynamic [id] routes use DynamicMarker pattern
|
|
// See: app/dashboard/sessions/[id]/page.tsx and app/platform/companies/[id]/page.tsx
|
|
cacheComponents: true,
|
|
};
|
|
|
|
export default nextConfig;
|