stencil-postcss icon indicating copy to clipboard operation
stencil-postcss copied to clipboard

injectGlobalPath does not work on Windows

Open kstewart83 opened this issue 5 years ago • 2 comments

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 avatar Jan 19 '20 13:01 kstewart83

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.

kstewart83 avatar Jan 19 '20 14:01 kstewart83

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

splitinfinities avatar Sep 27 '21 19:09 splitinfinities