fix: i18n next
This commit is contained in:
parent
07dfce9b28
commit
5fed561471
@ -21,13 +21,17 @@ const nextConfig = {
|
|||||||
asyncWebAssembly: true,
|
asyncWebAssembly: true,
|
||||||
layers: true
|
layers: true
|
||||||
};
|
};
|
||||||
config.module.rules = config.module.rules.concat([
|
config.module = {
|
||||||
|
...config.module,
|
||||||
|
rules: config.module.rules.concat([
|
||||||
{
|
{
|
||||||
test: /\.svg$/i,
|
test: /\.svg$/i,
|
||||||
issuer: /\.[jt]sx?$/,
|
issuer: /\.[jt]sx?$/,
|
||||||
use: ['@svgr/webpack']
|
use: ['@svgr/webpack']
|
||||||
}
|
}
|
||||||
]);
|
]),
|
||||||
|
exprContextCritical: false
|
||||||
|
};
|
||||||
|
|
||||||
return config;
|
return config;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user