jekyll-postcss
jekyll-postcss copied to clipboard
Possibility to use imports processed by other plugins like `postcss-scss`
In the following line the @import
directive is always treated as a file with the .css
extension, but the plugins support now the ".css", ".scss", ".sass"
extensions.
https://github.com/mhanberg/jekyll-postcss/blob/acc941e01ab182552fc91ddce93560245f502b04/lib/jekyll/converters/postcss.rb#L56
Should we have the support for other filetypes or maybe allow the use with other plugins like postcss-scss
?
So I think you are bringing up two different things, one of which I think is directly related to this issue.
- You noticed that the plugin will only cache
.css
imports, not scss/sass imports (this is a bug). - You want to be able to use a a different css preprocessor than scss/sass.
Does that sound correct?
Hi @mhanberg, the first option should be the indicated for this case.
@peterpalau is it correct to assume that you are using @import
as provided by Sass, and not provided by postcss-import?
@peterpalau is it correct to assume that you are using
@import
as provided by Sass, and not provided by postcss-import?
Exactly this
@peterpalau is it correct to assume that you are using
@import
as provided by Sass, and not provided by postcss-import?
Yeap, exactly that, like @DiodonHystrix said.