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 2 years 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

@justforuse yeah, this feature will be supported in next version.

Geocld avatar Oct 23 '23 01:10 Geocld