2023-04-21 12:11:00 +02:00
|
|
|
/* eslint-disable @typescript-eslint/no-var-requires */
|
2023-04-16 19:04:24 +02:00
|
|
|
const withBundleAnalyzer = require("@next/bundle-analyzer")({
|
|
|
|
|
enabled: process.env.ANALYZE === "true",
|
|
|
|
|
})
|
2023-04-21 12:11:00 +02:00
|
|
|
const withPlugins = require("next-compose-plugins")
|
2023-04-16 19:04:24 +02:00
|
|
|
|
2023-04-21 12:11:00 +02:00
|
|
|
/**
|
|
|
|
|
* @type {import('next').NextConfig}
|
|
|
|
|
*/
|
|
|
|
|
module.exports = withPlugins([[withBundleAnalyzer]], {
|
|
|
|
|
reactStrictMode: true,
|
|
|
|
|
experimental: { instrumentationHook: true },
|
|
|
|
|
})
|