I was wondering if you're open to passing a path config down to the postcss-load-config package? This would follow the path like .eleventy.js -> EleventyPluginPostCSS -> Extension -> config-loader.js -> postcss-load-config.
A consumer would configure it like so: eleventyConfig.addPlugin(postCssPlugin, { path: 'projects/blog/.postcssrc.js'});
Hey 👋
I was wondering if you're open to passing a
path
config down to the postcss-load-config package? This would follow the path like.eleventy.js
->EleventyPluginPostCSS
->Extension
->config-loader.js
->postcss-load-config
.A consumer would configure it like so:
eleventyConfig.addPlugin(postCssPlugin, { path: 'projects/blog/.postcssrc.js'});
This is the load-config package section that accepts a
path
https://github.com/postcss/postcss-load-config/blob/b8cdab0a91052bbe2d19a869534f29170c14d873/src/index.js#L133-L144