remove i18n tip (#4202)

This commit is contained in:
Archer
2025-03-17 21:54:02 +08:00
committed by archer
parent e0b5d35d8e
commit f842ad93ce
11 changed files with 26 additions and 62 deletions

View File

@@ -39,9 +39,9 @@ const nextConfig = {
if (!config.externals) {
config.externals = [];
}
config.externals.push('@node-rs/jieba');
if (isServer) {
config.externals.push('@node-rs/jieba');
if (nextRuntime === 'nodejs') {
const oldEntry = config.entry;
config = {
@@ -85,7 +85,6 @@ const nextConfig = {
'pg',
'@zilliz/milvus2-sdk-node',
"tiktoken",
"@node-rs/jieba"
],
outputFileTracingRoot: path.join(__dirname, '../../'),
instrumentationHook: true