Skip to content

Commit 0e382f6

Browse files
committed
Update next.config.js : add bundler package
1 parent 80fa05a commit 0e382f6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

next.config.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
/** @type {import('next').NextConfig} */
2+
const withBundleAnalyzer = require('@next/bundle-analyzer')({
3+
enabled: process.env.ANALYZE === 'true'
4+
})
5+
26
const nextConfig = {
37
output: 'standalone'
48
}
59

6-
module.exports = nextConfig
10+
module.exports = withBundleAnalyzer(nextConfig)

0 commit comments

Comments
 (0)