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
When using the migrator for modules, if there is any rule in the file preceding an @import directive for a partial which uses sass variables declared in that file, the tool fails. The following error message is produced:
Error: This stylesheet was loaded by a nested import in minimal.sass. The module system only supports loading nested CSS using the load-css() mixin, which doesn't allow access to variables from the outer stylesheet.
The error is not documented, and I couldn't find it anywhere in this repo outside of a test spec which didn't offer much more insight into the cause. In this failure case, it's a little confusing as output, because there are no nested imports.
Expected behaviour: The migrator does not treat non-nested imports as nested.