@vsmi/swc-plugin-transform-imports
v0.0.1
Published
a plugin for swc to transform import declarations
Downloads
1
Maintainers
Readme
💫@vsmi/swc-plugin-transform-imports
a plugin for swc to transform import declarations, support import lib style as effects
Config
[
"@vsmi/swc-plugin-transform-imports",
{
"lodash": {
"transform": "lodash/{{member}}"
},
"antd": {
"transform": "antd/es/{{ kebabCase member }}",
"style": true
}
}
]
License
MIT