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()),
|
2026-02-11 18:38:51 -08:00
|
|
|
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;
|