Studiobear / snowpack-plugin-mdsvex

Include Svelte-enhanced markdown files via MDSVEX with Snowpack
11 stars 0 forks source link

Handle Embedded Svelte Component CSS #2

Closed bearcanrun closed 4 years ago

bearcanrun commented 4 years ago

Issue: .svx files may contain Svelte components which in turn, may contain CSS. Currently, this plugin only emits JS.

Proposed Solution: Svelte compiler already emits css as object property, and Snowpack resolve.output needs to be extended with .css