Antd components are loaded in commonjs mode, so internationalization doesn't work. See the text for configuration. I can change module to "es2015".

{
"compilerOptions": {

"moduleResolution": "node",
"target": "es5",
"jsx": "react",
"sourceMap": true,
"skipDefaultLibCheck": true,
"skipLibCheck": true,
"module": "commonjs",
"allowSyntheticDefaultImports": true,
"removeComments": true

},
"exclude": [

"bin",
"node_modules"

]
}

Oct.27,2021
Menu