SpiriitLabs / vite-plugin-svg-spritemap

Vite plugin to generate svg spritemap
MIT License
47 stars 4 forks source link

Typescript Reference not working with Nuxt #38

Closed Applelo closed 8 months ago

Applelo commented 8 months ago

Using this types reference with nuxt is not working. /// <reference types="@spiriit/vite-plugin-svg-spritemap/client" />

However using /// <reference types="@spiriit/vite-plugin-svg-spritemap/dist/client" /> is working 🤷‍♂️

Applelo commented 8 months ago

I tried with no success to reference in the tsconfig and directly reference the package. I close this issue since there s a workaround but it is not perfect.