stencil-community / stencil-postcss

Autoprefixer plugin for Stencil
https://www.npmjs.com/package/@stencil-community/postcss
Other
30 stars 24 forks source link

injectGlobalPath does not work on Windows #22

Open kstewart83 opened 4 years ago

kstewart83 commented 4 years ago

I get an error in the browser that local resource could not be loaded with all the path separators removed.

It looks like it is the same error as the SCSS plugin described here. The fix from that issue should be applicable based on browsing the code.

kstewart83 commented 4 years ago

I modified my local copy of stencil-postcss with the referenced fix and it seems to work. I was still getting the "Not allowed to load local resource" error (this time with the correct path), but after using the postcss-easy-import plugin first, that problem seems to be resolved and it seems to be working.

splitinfinities commented 2 years ago

Can you help my out by creating a reproduction repo with the latest versions of @stencil/core and @stencil/postcss?