打包eslint冲突处理

This commit is contained in:
tangly1024.com
2024-11-13 17:03:19 +08:00
parent 0f9fd58e01
commit fc7d86380c
3 changed files with 5 additions and 5 deletions

View File

@@ -228,4 +228,6 @@ const nextConfig = {
}
}
module.exports = withBundleAnalyzer(nextConfig)
module.exports = process.env.ANALYZE
? withBundleAnalyzer(nextConfig)
: nextConfig