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

Generated icon component file has variables which conflicts with nuxt3 build #135

Open
nick-bohdanov opened this issue Nov 29, 2023 · 0 comments

Comments

@nick-bohdanov
Copy link

nick-bohdanov commented Nov 29, 2023

I'm using this library in my vue3 and vite project which is a ui plugin i use in my nuxt3 application.

Everything works good to me, until I do production build in nuxt3.
Since nuxt3 have autoimport feature during build phase it has conflicts with random variables in my component icons.

Here is my gnerated icon file
image

And here is error during build
image

Is this possible to have some options for compileTemplate to hide local variables, or something like that?

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

1 participant