next-enterprise/next.config.js

7 lines
268 B
JavaScript
Raw Normal View History

2023-04-16 19:04:24 +02:00
const withPlugins = require("next-compose-plugins")
const withBundleAnalyzer = require("@next/bundle-analyzer")({
enabled: process.env.ANALYZE === "true",
})
module.exports = withPlugins([[withBundleAnalyzer]], { reactStrictMode: true, transpilePackages: ["ui"] })