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

CSS imports broken with Stencil >v1.10.0

Open alex-ketch opened this issue 4 years ago • 4 comments

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

alex-ketch avatar Apr 01 '20 19:04 alex-ketch

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

PsySolix avatar Apr 08 '20 11:04 PsySolix

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

elclanrs avatar Apr 13 '20 20:04 elclanrs

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.

alex-ketch avatar May 13 '20 15:05 alex-ketch

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