css imports for SSR #11840
nathanschwarz
started this conversation in
Feature Requests
css imports for SSR
#11840
Replies: 1 comment
-
No follow-up for this issue? |
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
-
This feature has been asked for a while now (several years), but meteor still lacks css support on the server.
I think it's the missing piece for a full ssr support.
I think we should divide the work into 2 parts :
I've been able to "compile css on the server" on my own using a hacky custom package to transform (s)css to a javascript string that I include directly in a style tag server side. It works relatively well, but because it's compiled as javascript it can't be passed down to minifiers / postcss processes, and css modules won't work with this solution (I think).
Maybe a similar process could be used ?
Does anyone used a custom solution to tackle this issue ?
Beta Was this translation helpful? Give feedback.
All reactions