Skip to content

Commit

Permalink
FCP optimizations
Browse files Browse the repository at this point in the history
  • Loading branch information
muliswilliam committed Sep 24, 2023
1 parent 3102cb1 commit fb08132
Show file tree
Hide file tree
Showing 14 changed files with 351 additions and 92 deletions.
39 changes: 39 additions & 0 deletions analyze/nodejs.html

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
const withPlugins = require('next-compose-plugins');
const withBundleAnalyzer = require('@next/bundle-analyzer')({
enabled: process.env.ANALYZE === 'true',
})

/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
Expand All @@ -13,4 +18,4 @@ const nextConfig = {
},
}

module.exports = nextConfig
module.exports = withPlugins([withBundleAnalyzer], nextConfig);
Loading

0 comments on commit fb08132

Please sign in to comment.