gavinmcfarland / flex-gap-polyfill

A PostCSS plugin to emulate flex gap using margins
https://gavinmcfarland.github.io/flex-gap-polyfill/
Creative Commons Zero v1.0 Universal
143 stars 6 forks source link

plugin did not pass the `from` option to `postcss.parse` #83

Open kingyue737 opened 1 year ago

kingyue737 commented 1 year ago

I'm using this plugin with vite. The following warning is printed in console:

A PostCSS plugin did not pass the `from` option to `postcss.parse`. This may cause imported assets to be incorrectly transformed. If you've recently added a PostCSS plugin that raised this warning, please contact the package author to fix the issue.

postcss v8.4.23 flex-gap-polyfill v4.1.2

gavinmcfarland commented 1 year ago

Thanks for sharing this. This plugin does not use the method postcss.parse so I'm not sure what's causing this warning but I will investigate.

Is it preventing you from doing anything?