Replies: 1 comment
-
The reason we do this is mainly to support hot reload on CSS and it is just for dev time, when a css file changes in the system we tell the browser to replace the existing stylesheet wit the new one that's why we serve it as css, it is similar to how other dev servers handle css changes I would think that using a link tag should just open the css file, but I might want to re-take a look at that thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I'm circling back to Perla and was trying to write some CSS.
Currently, all stylesheets are transformed automatically to be imported into JavaScript.
I'm wondering if that really should be the default behaviour?
Maybe the CSS could be served as if when not imported from JS but referenced using a
<link rel
tag.Beta Was this translation helpful? Give feedback.
All reactions