chat model config (#158)

* chat model config

* fix: i18n next
This commit is contained in:
Archer
2023-08-09 11:08:39 +08:00
committed by GitHub
parent da4b14fbf8
commit b6f9f77ed4
12 changed files with 269 additions and 270 deletions

View File

@@ -21,13 +21,17 @@ const nextConfig = {
asyncWebAssembly: true,
layers: true
};
config.module.rules = config.module.rules.concat([
{
test: /\.svg$/i,
issuer: /\.[jt]sx?$/,
use: ['@svgr/webpack']
}
]);
config.module = {
...config.module,
rules: config.module.rules.concat([
{
test: /\.svg$/i,
issuer: /\.[jt]sx?$/,
use: ['@svgr/webpack']
}
]),
exprContextCritical: false
};
return config;
}