2023-12-03 11:18:25 +00:00
|
|
|
module.exports = {
|
|
|
|
compact: false,
|
|
|
|
presets: [
|
|
|
|
"@babel/env",
|
2023-12-03 20:00:04 +00:00
|
|
|
"@babel/preset-typescript",
|
|
|
|
["@babel/react", { "runtime": "automatic" }]
|
2023-12-03 11:18:25 +00:00
|
|
|
],
|
|
|
|
plugins: [
|
2023-12-03 20:00:04 +00:00
|
|
|
["@babel/plugin-transform-runtime"],
|
2023-12-03 11:18:25 +00:00
|
|
|
["import", {
|
|
|
|
libraryName: "redux",
|
|
|
|
libraryDirectory: "src",
|
|
|
|
camel2DashComponentName: false,
|
|
|
|
transformToDefaultImport: true
|
2023-12-06 17:40:25 +00:00
|
|
|
}, "redux"],
|
|
|
|
["import", {
|
|
|
|
libraryName: "@ant-design/icons",
|
|
|
|
libraryDirectory: "es/icons",
|
|
|
|
camel2DashComponentName: false
|
|
|
|
}, "@ant-design/icons"],
|
2023-12-03 11:18:25 +00:00
|
|
|
]
|
|
|
|
}
|