You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to get SCSS pre-processing to work with Linaria within Next? It seems like it could work but I couldn't get it to work. Should it? It seems like it could given the right Webpack configuration.
Somewhat related, but completely different, I also tried to use exported Sass variables in templates, but Linaria seems unhappy with that as well.
This expression cannot be used in the template, because it is a function parameter.
I'm guessing that is just a limitation with how WyW-in-JS works given the original source of the variables is SCSS.
The text was updated successfully, but these errors were encountered:
@dndrsn unfortunately I can't help you with that. I haven't had the use case for such a setup. But I think one major issue might be that linaria only creates css modules and nextjs expects scss modules?!
Is it possible to get SCSS pre-processing to work with Linaria within Next? It seems like it could work but I couldn't get it to work. Should it? It seems like it could given the right Webpack configuration.
Somewhat related, but completely different, I also tried to use exported Sass variables in templates, but Linaria seems unhappy with that as well.
This expression cannot be used in the template, because it is a function parameter.
I'm guessing that is just a limitation with how WyW-in-JS works given the original source of the variables is SCSS.
The text was updated successfully, but these errors were encountered: