mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-18 09:24:03 +00:00
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:
@@ -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, '../../')
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user