mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 21:13:50 +00:00
v4.6 -1 (#459)
This commit is contained in:
@@ -25,7 +25,8 @@ const nextConfig = {
|
||||
'mongodb-client-encryption': false,
|
||||
kerberos: false,
|
||||
'supports-color': false,
|
||||
'bson-ext': false
|
||||
'bson-ext': false,
|
||||
'pg-native': false
|
||||
});
|
||||
config.module = {
|
||||
...config.module,
|
||||
@@ -44,7 +45,7 @@ const nextConfig = {
|
||||
},
|
||||
transpilePackages: ['@fastgpt/*'],
|
||||
experimental: {
|
||||
serverComponentsExternalPackages: ['mongoose'],
|
||||
serverComponentsExternalPackages: ['mongoose', 'winston', 'winston-mongodb', 'pg'],
|
||||
outputFileTracingRoot: path.join(__dirname, '../../')
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user