Files
payloadcms/next.config.js
2024-02-29 12:15:51 -05:00

11 lines
265 B
JavaScript

const { withPayload } = require('./packages/next/src/withPayload')
const withBundleAnalyzer = require('@next/bundle-analyzer')({
enabled: process.env.ANALYZE === 'true',
})
module.exports = withBundleAnalyzer(
withPayload({
reactStrictMode: false,
}),
)