update doc and fix copy node (#1399)

* update doc

* fix: copy node

* perf: adapt tip

* update doc and package

* remove code
This commit is contained in:
Archer
2024-05-09 14:09:24 +08:00
committed by GitHub
parent eb36b71ac3
commit 2155489be3
13 changed files with 91 additions and 76 deletions

View File

@@ -86,12 +86,7 @@ const nextConfig = {
serverComponentsExternalPackages: ['mongoose', 'pg'],
// 指定导出包优化,按需引入包模块
optimizePackageImports: ['mongoose', 'pg'],
outputFileTracingRoot: path.join(__dirname, '../../'),
outputFileTracingIncludes: {
'/api/common/file/previewContent.ts': [
path.resolve(process.cwd(), '../../packages/service/worker/**/*')
]
}
outputFileTracingRoot: path.join(__dirname, '../../')
}
};