We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80fa05a commit 0e382f6Copy full SHA for 0e382f6
next.config.js
@@ -1,6 +1,10 @@
1
/** @type {import('next').NextConfig} */
2
+const withBundleAnalyzer = require('@next/bundle-analyzer')({
3
+ enabled: process.env.ANALYZE === 'true'
4
+})
5
+
6
const nextConfig = {
7
output: 'standalone'
8
}
9
-module.exports = nextConfig
10
+module.exports = withBundleAnalyzer(nextConfig)
0 commit comments