problem phenomenon
as written in the antd-mobile document, the following two reference methods load the corresponding component code and style on demand:
"development": {
"plugins": [
"transform-pipeline",
"react-hot-loader/babel",
"syntax-dynamic-import",
"transform-decorators-legacy",
"transform-async-functions",
"transform-export-extensions",
["import", { "libraryName": "antd-mobile", "style": true }],
["component", { "libraryName": "mint-ui", "style": true }]
]
}
the configuration file is long, so only part of the code is intercepted