​You are using a whole package of antd-mobile, please use https://www.npmjs.com/package/babel-plugin-import to reduce app bundle size.​

1、此时需要引入babel-plugin-import按需加载

npm install babel-plugin-import --save-dev

2、在根目录下新建文件babelrc

{
"plugins": [
["import", { "libraryName": "antd", "style": "css" }]
]
}