- Chat interface with OpenAI GPT integration - Automatic diagram generation from text descriptions - Tldraw canvas with Dagre layout engine - REST API instead of WebSocket approach 🤖 Generated with Claude Code (https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
16 lines
468 B
JavaScript
16 lines
468 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
// Disable React Strict Mode to prevent WebSocket disconnections during development
|
|
// Strict Mode causes double mounting/unmounting which closes WebSocket connections
|
|
reactStrictMode: false,
|
|
webpack: (config) => {
|
|
config.externals.push({
|
|
'utf-8-validate': 'commonjs utf-8-validate',
|
|
'bufferutil': 'commonjs bufferutil',
|
|
})
|
|
return config
|
|
},
|
|
}
|
|
|
|
module.exports = nextConfig
|