hood / vite-plugin-shadow-style

A Vite plugin to inject css styles into the shadow root of web components.
17 stars 3 forks source link

not working with vanilla js project :( #6

Open moonhuntercode opened 2 months ago

moonhuntercode commented 2 months ago

adding globals.d.ts and declare const SHADOW_STYLE: string; not working for me :( 👎🏻 . please help me :( https://github.com/moonhuntercode/vanilla-structures

hood commented 2 months ago

I've opened a random file and saw a typo. Sure it isn't the problem? https://github.com/moonhuntercode/vanilla-structures/blob/main/components%2FMenuPage.js#L8