The parser property in postcss.config is completely ignored.
Here's an example postcss.config.js of what I'd like to do:
module.exports = {
parser: 'postcss-scss',
plugins: [
...
]
}
Actually looking at the code, it seems like only the plugins array is used. This is the only reference to config in the whole file:
|
class PostCSS { |
|
static process(data, write) { |
|
postcss(config.plugins) |
For those looking for a quick-and-dirty workaround, additional options can be added to the process call here:
|
.process(JSON.parse(data).raw_content, { from: undefined }) |
The parser property in postcss.config is completely ignored.
Here's an example postcss.config.js of what I'd like to do:
Actually looking at the code, it seems like only the plugins array is used. This is the only reference to
configin the whole file:jekyll-postcss/bin/postcss
Lines 7 to 9 in 90d0957
For those looking for a quick-and-dirty workaround, additional options can be added to the process call here:
jekyll-postcss/bin/postcss
Line 10 in 90d0957