rules_sass
rules_sass copied to clipboard
Unable to include non-scss dependencies such as typography files for font-face
While writing an scss file that defined some custom font-face rules for my company's custom fonts it became apparent that the sass_library/binary rule do not have a "data" attribute where one could reference the dependent typography files. I wasn't able to use the dependency attribute either since that attribute appears to be written to only handle scss imports.
Would it be possible to add a "data" attribute to the rule/s where typography files referenced in font-face definitions can be passed, or is there another way I should go about doing this? I thought about handling the files with filegroup or genrule to make sure they ended up where the font-face rule expected to find them, but didn't like how this appeared to disassociate the required/dependent typography files from the scss rules that references them.
Any updates or recommendations on this?