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
And here is error during build
Is this possible to have some options for compileTemplate to hide local variables, or something like that?
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](https://github.com/jpkleemans/vite-svg-loader/assets/143489099/bb03a7fd-a889-4456-b27e-d879ea631325)
And here is error during build![image](https://github.com/jpkleemans/vite-svg-loader/assets/143489099/40387d03-ed94-4c62-9ca1-33f1bc3722f9)
Is this possible to have some options for
compileTemplate
to hide local variables, or something like that?