16 lines
369 B
JavaScript
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
|