use recommended next.config.js
All checks were successful
/ registry_publish (push) Successful in 1m40s
All checks were successful
/ registry_publish (push) Successful in 1m40s
This commit is contained in:
parent
5097c71ff2
commit
ba499c4978
@ -1,10 +1,8 @@
|
||||
const withPlugins = require('next-compose-plugins')
|
||||
const withBundleAnalyzer = require('@next/bundle-analyzer')
|
||||
// next.config.js
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
reactStrictMode: false,
|
||||
swcMinify: true
|
||||
}
|
||||
|
||||
module.exports = withPlugins(
|
||||
[withBundleAnalyzer({ enabled: process.env.ANALYZE === 'true' })],
|
||||
{
|
||||
reactStrictMode: false,
|
||||
swcMinify: true
|
||||
}
|
||||
)
|
||||
module.exports = nextConfig
|
||||
|
||||
Loading…
Reference in New Issue
Block a user