{
"presets": ["@babel/preset-env", "@babel/preset-react"],
"plugins": ["@babel/plugin-transform-runtime",
"@babel/plugin-proposal-object-rest-spread",
"@babel/plugin-proposal-class-properties",
["component",
{
"libraryName": "mint-ui",
"style": true
}
]]
}
In the "component" 'directly behind with an object, mint-ui more document [], using the babel-plugin-component or to refer to the official usage: https://www.npmjs.com/package/babel-plugin- component