Initial react editor Next.js template

This commit is contained in:
Rami Bitar
2026-08-29 15:45:18 -04:00
commit 6e5783e644
32 changed files with 4192 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
import { dirname } from 'node:path';
import { fileURLToPath } from 'node:url';
export default {
reactStrictMode: true,
outputFileTracingRoot: dirname(fileURLToPath(import.meta.url)),
webpack: (config, { isServer }) => {
config.cache = { type: 'memory' };
if (isServer) {
config.optimization = config.optimization || {};
config.optimization.splitChunks = false;
}
return config;
},
};