ci: add bundle analyzer
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
/* eslint-disable @typescript-eslint/no-var-requires */
|
||||
const withBundleAnalyzer = require('@next/bundle-analyzer')({
|
||||
enabled: process.env.ANALYZE === 'true'
|
||||
});
|
||||
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
reactStrictMode: true,
|
||||
@@ -14,4 +19,4 @@ const nextConfig = {
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = nextConfig;
|
||||
module.exports = withBundleAnalyzer(nextConfig);
|
||||
|
||||
Reference in New Issue
Block a user