mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-18 23:16:49 +00:00
feat: 优化dockerfile,可使包体积从1.1G缩小至200M
This commit is contained in:
@@ -84,7 +84,7 @@ const nextConfig = {
|
||||
eslint: {
|
||||
ignoreDuringBuilds: true
|
||||
},
|
||||
output: process.env.EXPORT ? 'export' : undefined,
|
||||
output: process.env.EXPORT ? 'export' : 'standalone',
|
||||
staticPageGenerationTimeout: 120,
|
||||
// 多语言, 在export时禁用
|
||||
i18n: process.env.EXPORT
|
||||
|
||||
Reference in New Issue
Block a user