Closed AlecRust closed 8 years ago
See https://github.com/postcss/sugarss/issues/33 (not really resolved)
Thanks @1j01. Using postcss-easy-import allows something like Normalize.css to be referenced, but unfortunately the brackets/semi-colons are duplicated when parsed with SugarSS syntax:
Ask postcss-easy-import guys, because all import happen after parsing
What's the best way to load plain CSS files through SugarSS?
For example it would be nice to be able to load Normalize.css from
/node_modules
in the main stylesheet like so usingpostcss-import
:The full CSS doesn't play nice when pulled in amongst SugarSS styles though, so I'm currently using postcss-normalize in my plugins to work around this.
Can SugarSS support plain CSS syntax or is there a recommended way to solve this?