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

genTypeImport and genDynamicTypeImport #24

Open
pi0 opened this issue Sep 20, 2022 · 1 comment
Open

genTypeImport and genDynamicTypeImport #24

pi0 opened this issue Sep 20, 2022 · 1 comment

Comments

@pi0
Copy link
Member

pi0 commented Sep 20, 2022

Context: nuxt/framework#7673

@nozomuikuta
Copy link
Member

As far as I see the codebase, there is already function whose name is genTypeImport (genDynamicTypeImport doesn't exist). In addition, according to nuxt/framework#7673, I guess genInlineTypeImport would be just or closest to what genDynamicTypeImport aimed to be and can resolves nuxt/framework#7673 (although it doesn't strip file extension automatically).

So, now, I wonder what @pi0 wants the goal of this issue to be. 🤔
Adding an option to the existing gen* functions to strip file extension? (but, IMHO it should be done before calling the function rather than being done inside functions).

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