next-enterprise/next.config.js
2023-04-21 12:11:00 +02:00

13 lines
392 B
JavaScript

/* eslint-disable @typescript-eslint/no-var-requires */
const withBundleAnalyzer = require("@next/bundle-analyzer")({
enabled: process.env.ANALYZE === "true",
})
const withPlugins = require("next-compose-plugins")
/**
* @type {import('next').NextConfig}
*/
module.exports = withPlugins([[withBundleAnalyzer]], {
reactStrictMode: true,
experimental: { instrumentationHook: true },
})