antd and antd-mobile are both loaded on demand:
/ / webpack before configuration
plugins: ["transform-runtime", ["import", {
"libraryName": "antd-mobile",
"style": true
}]]
/ / webpack modified configuration
plugins: ["transform-runtime", ["import", {
"libraryName": "antd-mobile",
"style": true
},
{
"libraryName": "antd",
"style": true
}]]
/ / then referenced in the page,
//
indicates that this method is wrong. How to configure two demand loads in the plug-in?