mirror of
https://github.com/zuiidea/antd-admin
synced 2026-11-02 16:04:05 +00:00
fix: adding babel preset to fixing extract command
This commit is contained in:
+7
-3
@@ -38,6 +38,7 @@
|
||||
"store": "^2.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/preset-react": "^7.12.13",
|
||||
"@lingui/cli": "^3.7.0",
|
||||
"@lingui/macro": "^3.7.2",
|
||||
"@umijs/preset-react": "^1.4.0",
|
||||
@@ -82,12 +83,14 @@
|
||||
]
|
||||
},
|
||||
"lingui": {
|
||||
"fallbackLocale": "en",
|
||||
"fallbackLocales": {
|
||||
"default": "en"
|
||||
},
|
||||
"sourceLocale": "en",
|
||||
"locales": [
|
||||
"en",
|
||||
"zh",
|
||||
"pr"
|
||||
"pt-br"
|
||||
],
|
||||
"catalogs": [
|
||||
{
|
||||
@@ -103,7 +106,8 @@
|
||||
"format": "minimal",
|
||||
"extractBabelOptions": {
|
||||
"presets": [
|
||||
"@umijs/babel-preset-umi"
|
||||
"@umijs/babel-preset-umi",
|
||||
"@babel/preset-react"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user