Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support .vue file? or add a extension option #6

Open
justforuse opened this issue Apr 19, 2023 · 1 comment
Open

Support .vue file? or add a extension option #6

justforuse opened this issue Apr 19, 2023 · 1 comment

Comments

@justforuse
Copy link

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

@Geocld
Copy link
Owner

Geocld commented Oct 23, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants