Skip to content

Commit e9b235a

Browse files
committed
Remove bundle analyzer from next config
1 parent eca1c52 commit e9b235a

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

next.config.mjs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@ import remarkMermaid from "remark-mermaid";
55
import rehypePrism from "@mapbox/rehype-prism";
66
import rehypeSlug from 'rehype-slug';
77
import rehypeAutolinkHeadings from 'rehype-autolink-headings';
8-
import bundleAnalyzer from "@next/bundle-analyzer";
9-
10-
const withBundleAnalyzer = bundleAnalyzer({
11-
enabled: process.env.ANALYZE === 'true',
12-
});
138

149
/** @type {import('next').NextConfig} */
1510
const nextConfig = {
@@ -178,4 +173,4 @@ const withMDX = nextMDX({
178173
},
179174
});
180175

181-
export default withBundleAnalyzer(withMDX(nextConfig));
176+
export default withMDX(nextConfig);

0 commit comments

Comments
 (0)