mirror of
https://github.com/DefectingCat/DefectingCat.github.io
synced 2025-07-15 16:51:37 +00:00
add esm only
This commit is contained in:
@ -22,11 +22,13 @@ const isExport = process.env.NEXT_BUILD === 'export';
|
||||
const nextConfig = {
|
||||
/* config options here */
|
||||
reactStrictMode: true,
|
||||
swcMinify: true,
|
||||
output: 'standalone',
|
||||
images: isExport ? { unoptimized: true } : {},
|
||||
experimental: {
|
||||
// runtime: 'nodejs',
|
||||
// outputStandalone: true,
|
||||
esmExternals: true,
|
||||
},
|
||||
// assetPrefix: isExport ? './' : undefined,
|
||||
// images:
|
||||
|
Reference in New Issue
Block a user