SpiriitLabs/vite-plugin-svg-spritemap

Typescript Reference not working with Nuxt

Applelo opened this issue · 1 comments

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 🤷‍♂️

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.