Multiple module with babel-plugin-component:
[issue link]#1356
build: {
babel: {
plugins: [
['component', [{
libraryName: 'element-ui',
styleLibraryName: 'theme-default'
}, {
libraryName: 'mint-ui',
style: true
}]]
]
}
}
However, it does not seem to support multiple module
babel-plugin-component#multiple-module
build: {
babel: {
plugins: [
['component', [{
libraryName: 'element-ui',
styleLibraryName: 'theme-default'
}]]
]
}
}
and
build: {
babel: {
plugins: [
['component', {
libraryName: 'element-ui',
styleLibraryName: 'theme-default'
}]
]
}
}
work fine!