We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 657e087 commit b132714Copy full SHA for b132714
next.config.mjs
@@ -3,7 +3,7 @@ import withPlugins from "next-compose-plugins";
3
import withBundleAnalyzer from "next-bundle-analyzer";
4
5
const bundleAnalyzer = withBundleAnalyzer({
6
- enabled: process.env.ANALYZE
+ enabled: process.env.ANALYZE || false
7
});
8
9
package.json
@@ -5,8 +5,7 @@
"scripts": {
"dev": "next dev",
"build": "next build && next export",
- "analyze": "cross-env ANALYZE=true npm run build",
- "start": "next start"
+ "analyze": "cross-env ANALYZE=true npm run build"
10
},
11
"dependencies": {
12
"@heroicons/react": "^2.0.16",
@@ -35,4 +34,4 @@
35
34
"postcss": "^8.4.21",
36
"tailwindcss": "^3.2.7"
37
}
38
-}
+}
0 commit comments