navneetsharmaui / sveltekit-starter

Sveltekit starter project created with sveltekit, typescript, tailwindcss, postcss, husky, and storybook. The project has the structure set up for the scaleable web application.
https://sveltekit-starter-one.vercel.app
MIT License
609 stars 100 forks source link

PurgeCSS remove svelte component CSS #24

Closed ImAwesome closed 3 years ago

ImAwesome commented 3 years ago

How to reproduce:

  1. clone repo and install project
  2. add any svelte component to page, Button for example
  3. run build:static
  4. PROFIT: component display and work at page, but loose styles PurgeCSS find selectors correctly.
navneetsharmaui commented 3 years ago

@ImAwesome It's no longer an issue check the latest code.