Files
teatea-pension/next.config.ts

37 lines
781 B
TypeScript

import type { NextConfig } from "next";
const nextConfig: NextConfig = {
outputFileTracingRoot: process.cwd(),
experimental: {
devtoolSegmentExplorer: false,
},
webpack(config, { dev }) {
if (dev) {
config.watchOptions = {
...config.watchOptions,
ignored: [
"**/.agents/**",
"**/.claude/**",
"**/.codex/**",
"**/.cursor/**",
"**/.data/**",
"**/.git/**",
"**/.next/**",
"**/.pi/**",
"**/.playwright-mcp/**",
"**/.serena/**",
"**/.spec-workflow/**",
"**/.trae/**",
"**/.trellis/**",
"**/output/**",
"**/tmp/**",
],
};
}
return config;
},
};
export default nextConfig;