mirror of
https://github.com/ershisan99/DevToysWeb.git
synced 2025-12-16 20:49:23 +00:00
chore(dev): add @next/bundle-analyzer
This commit is contained in:
@@ -6,4 +6,6 @@ const nextConfig = {
|
||||
},
|
||||
};
|
||||
|
||||
export default nextConfig;
|
||||
export default process.env.ANALYZE === "true"
|
||||
? (await import("@next/bundle-analyzer")).default({ enabled: true })(nextConfig)
|
||||
: nextConfig;
|
||||
|
||||
Reference in New Issue
Block a user