fix can not find file in production mode

This commit is contained in:
DefectingCat
2023-05-17 17:08:45 +08:00
parent b19914b68a
commit ed7547461b

View File

@ -7,7 +7,7 @@ const nextConfig = {
/* config options here */
reactStrictMode: true,
swcMinify: true,
output: 'standalone',
// output: 'standalone',
images: isExport ? { unoptimized: true } : {},
experimental: {
// runtime: 'experimental-edge',
@ -21,4 +21,4 @@ const nextConfig = {
pageExtensions: ['ts', 'tsx', 'js', 'jsx', 'md', 'mdx'],
};
export default nextConfig;
export default nextConfig;