I have a RoR application that uses many separate .less files to create my styles. I have one .less file without a file (config.less) which has variables used by other files. I can manually scan each of these child files and add @import , but I have a lot of them, and this doesn't seem to be the best way. Is there a standard way to set a specific order if I use *= require_tree . ?
I tried to enable it over require_tree with
... *= require 'less/config' *= require_tree .
but I still get the error message in the subsequent .less file complaining that it cannot find the value in config
variable @base is undefined (in /Users/me/project/app/assets/stylesheets/less/mixins.less)
source share