vite-plugin-importus
vite-plugin-importus copied to clipboard
Support .vue file? or add a extension option
Thanks your work. It seems this package not support .vue
file, it is by design?
if (["js", "jsx", "ts", "tsx", "vue"].indexOf(ext) > -1) {
code = await transform_default(code, importOptions);
}
Or we can add a extensions
option to enable customize