Open cooperra opened 2 years ago
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:
config
https://github.com/mhanberg/jekyll-postcss/blob/90d09573b16d2ad5d6b9c3d902dadf0e14e8ac81/bin/postcss#L7-L9
For those looking for a quick-and-dirty workaround, additional options can be added to the process call here:
https://github.com/mhanberg/jekyll-postcss/blob/90d09573b16d2ad5d6b9c3d902dadf0e14e8ac81/bin/postcss#L10
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
config
in the whole file:https://github.com/mhanberg/jekyll-postcss/blob/90d09573b16d2ad5d6b9c3d902dadf0e14e8ac81/bin/postcss#L7-L9
For those looking for a quick-and-dirty workaround, additional options can be added to the process call here:
https://github.com/mhanberg/jekyll-postcss/blob/90d09573b16d2ad5d6b9c3d902dadf0e14e8ac81/bin/postcss#L10