next-enterprise/next.config.mjs
2024-02-18 11:02:18 +05:00

16 lines
369 B
JavaScript

import withBundleAnalyzer from "@next/bundle-analyzer"
import withPlugins from "next-compose-plugins"
import { env } from "./env.mjs"
/**
* @type {import('next').NextConfig}
*/
const config = withPlugins([[withBundleAnalyzer({ enabled: env.ANALYZE })]], {
reactStrictMode: true,
output: 'export',
images: {
unoptimized: true
},
})
export default config