sass / sassc-rails

Integrate SassC-Ruby with Rails!
MIT License
707 stars 104 forks source link

@import rule is not working #145

Closed ghost closed 4 years ago

ghost commented 4 years ago

in my application.scss $global: 1px; @import "test" and in _test.scss h1 { font-size: $global; }

$ rake assets:precompile rake aborted! SassC::SyntaxError: Error: Undefined variable: "$global". on line 2:16 of app/assets/stylesheets/_test.scss

font-size: $global;

---------------^

anyone knows why...?

marcoschicote commented 3 years ago

@kuyenda I'm getting a similar error. How did you manage to solve it? Thanks in advance!