stencil-community / stencil-postcss

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

CSS imports broken with Stencil >v1.10.0 #25

Open alex-ketch opened 4 years ago

alex-ketch commented 4 years ago

Same issue as outlined in https://github.com/ionic-team/stencil/issues/2292

Not familiar with the code but I imagine the fix is same as the ones @adamdbradley made to the stencil-sass package.


Screen Shot 2020-04-01 at 15 13 45

PsySolix commented 4 years ago

Any progress on this? Having the same problem, even when adding --legacy.

 "@stencil/core": "^1.12.3",
    "@stencil/eslint-plugin": "^0.3.1",
    "@stencil/postcss": "^1.0.1",
    "@stencil/sass": "^1.3.1",

Only fix currently seems to reroll stencil core => 1.9.0

elclanrs commented 4 years ago

Ah, so this is the issue I hit when I was trying to reproduce the Tailwindcss instructions here https://github.com/tailwindcss/setup-examples/pull/24

alex-ketch commented 4 years ago

I noticed that when I removed the postcss-import plugin from my configuration, I got past the above errors. This seems counter-intuitive and should be documented if that's the intended usage.

This didn't solve my problems though as I then encountered broken builds due to the following issue https://github.com/ionic-team/stencil/issues/2432.

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?