orlov-vo / parcel-transformer-svelte

Parcel 2 transformer for Svelte 3
https://www.npmjs.com/package/parcel-transformer-svelte
MIT License
40 stars 18 forks source link

Emits empty CSS file #2

Closed mischnic closed 4 years ago

mischnic commented 4 years ago

With this input, an empty css file is emitted:

<script>

</script>

<div>Hello Svelte!</div>

I'm guessing css is always an object?

https://github.com/orlov-vo/parcel-transformer-svelte/blob/3b9bed654ad596b93d199aa3959b19b03aa32395/index.js#L62-L65

ricochet1k commented 4 years ago

I've got a fix for this already. Waiting on #3

orlov-vo commented 4 years ago

Thanks guys! It will be released in 1.0.3 today