beadboard/next.config.ts

17 lines
399 B
TypeScript
Raw Normal View History

2026-02-11 17:42:51 -08:00
import type { NextConfig } from 'next';
import path from 'node:path';
const nextConfig: NextConfig = {
reactStrictMode: true,
outputFileTracingRoot: path.join(process.cwd()),
webpack(config, { dev }) {
if (dev) {
// Avoid intermittent Windows ENOENT errors from webpack filesystem pack cache.
config.cache = false;
}
return config;
},
2026-02-11 17:42:51 -08:00
};
export default nextConfig;