vitamin-web icon indicating copy to clipboard operation
vitamin-web copied to clipboard

build(@vtmn/svelte): inject CSS to `dist` folder by switching to PostCSS

Open Tlahey opened this issue 1 year ago • 1 comments

Change the rollup configuration. Switch to postcss to insert the @imported css into the dist folder.

This enhancement doesn't required anymore the @vtmn/css-* as dependencies.

In the dist output with this changes :

image

Tlahey avatar Jul 26 '22 09:07 Tlahey

We need a fix from svelte to merged this PR in the futur. See :

  • https://github.com/sveltejs/svelte/pull/6646
  • https://github.com/sveltejs/svelte/issues/6584

Tlahey avatar Jul 27 '22 11:07 Tlahey

:hatched_chick: Canary published successfully !

github-actions[bot] avatar Aug 17 '22 18:08 github-actions[bot]

@lauthieb it's ok for us, we can push it :)

Tlahey avatar Aug 19 '22 15:08 Tlahey

Thanks a lot @Tlahey & @AxelPeter for this great work!

lauthieb avatar Aug 19 '22 21:08 lauthieb