From e783b3dac75aab651c61d0793f45fe309589e824 Mon Sep 17 00:00:00 2001 From: Travis Fischer Date: Fri, 25 Mar 2022 09:33:42 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- next.config.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/next.config.js b/next.config.js index 1d53f9a..2debffc 100644 --- a/next.config.js +++ b/next.config.js @@ -1,8 +1,9 @@ -import withBundleAnalyzer from '@next/bundle-analyzer' - -export default withBundleAnalyzer({ +// eslint-disable-next-line @typescript-eslint/no-var-requires +const withBundleAnalyzer = require('@next/bundle-analyzer')({ enabled: process.env.ANALYZE === 'true' -})({ +}) + +module.exports = withBundleAnalyzer({ staticPageGenerationTimeout: 300, images: { domains: [