Closed curran closed 2 years ago
Oh hey! sveltejs/template uses the name bundle.css
. How appropriate.
And in that template, index.html
explicitly pulls in that generated file like so:
<link rel='stylesheet' href='/build/bundle.css'>
bundle.css
seems the way to go.
So this means we'll need to introduce almost exactly the same logic as is there for bundle.js
, applied to generating bundle.css
. This includes all the hairy logic around ignoring remote changes (only re-generating the file when local changes are made).
This may be a substantial effort.
Added Launch Blocker tag as this is the last thing we need before announcing Svelte support.
The last remaining task for Svelte integration is to expose the CSS outout on the page.
Possible Approaches:
bundle.js
and require that users include that into theirindex.html
.<style>
tag directly intoindex.html
when the program is run.Considerations: