vite-plugin-importus icon indicating copy to clipboard operation
vite-plugin-importus copied to clipboard

Support .vue file? or add a extension option

Open justforuse opened this issue 1 year ago • 1 comments

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

justforuse avatar Apr 19 '23 06:04 justforuse