docs: turn off dumi analyze in production mode (#50373)

This commit is contained in:
afc163
2024-08-12 14:00:58 +08:00
committed by GitHub
parent e188445b22
commit 3819b1825d

View File

@@ -56,7 +56,7 @@ export default defineConfig({
analytics: {
ga_v2: 'UA-72788897-1',
},
analyze: {
analyze: process.env.NODE_ENV === 'production' ? false : {
analyzerPort: 'auto',
},
links: [