flex-gap-polyfill icon indicating copy to clipboard operation
flex-gap-polyfill copied to clipboard

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

Open kingyue737 opened this issue 2 years ago • 1 comments

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

kingyue737 avatar May 19 '23 10:05 kingyue737

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?

gavinmcfarland avatar May 21 '23 19:05 gavinmcfarland

Thanks for investigating this. But you should mark #89 a duplicate of this issue instead.

kingyue737 avatar Jul 31 '24 15:07 kingyue737

Sorry I didn't mean any offense if caused by marking yours as a duplicate. I linked the latter issue because that has the most of my notes on it.

gavinmcfarland avatar Jul 31 '24 16:07 gavinmcfarland