Deploy to production
This commit is contained in:
@@ -22,6 +22,8 @@ export default defineConfig(({mode}) => {
|
||||
include: ['react', 'react-dom', 'three', '@react-three/fiber', '@react-three/drei'],
|
||||
},
|
||||
server: {
|
||||
host: true,
|
||||
port: 3000,
|
||||
// HMR is disabled in AI Studio via DISABLE_HMR env var.
|
||||
// Do not modify—file watching is disabled to prevent flickering during agent edits.
|
||||
hmr: process.env.DISABLE_HMR !== 'true',
|
||||
|
||||
Reference in New Issue
Block a user