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
The problem is that composition only works with local filenames such as .root and using it with Scopify make it #app .root which leads to the following error :
Module build failed:
Error: composes is only allowed when selector is single :local class name not in ":local(#app) :local(.root)"
@griable, tnx for reporting this issue.
I understand the issue.
The easiest way I would get around this would be to to use the cli version of scopify https://github.com/pazams/scopify-cli . this way scoping would be an extra command after webpack finishes compiling. If that works, then a small shell script combining webpack and scopify-cli commands would be convenient.
I'm leaving this issue open.
Maybe there's a better way to do it (I myself do not use webpack).
Hi,
First I apologise since it not directly a Scopify issue but more a CSS Module + Scopify usage question.
I would like to be able to use Scopify with CSS Modules and its composition system but I'm currently out of luck.
The problem is that composition only works with local filenames such as
.root
and using it with Scopify make it#app .root
which leads to the following error :My configuration is :
Finally, my question is, is there anyway to get the code prefixed by Scopify after it has been parsed by the CSS loader.
Thank you for helping!
The text was updated successfully, but these errors were encountered: