You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My simple use case is just to add the required prefixes for the .appearance-none class tailwind provides.
Unfortunately this results in a Build Error (broccoli-persistent-filter:PostcssFilter) in unrelated tailwind components I've added and I'm not sure how to continue.
Commenting out those components no longer yields the error, but an error is shown in the console: Refused to apply style from 'http://localhost:4200/assets/my-app.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
Any ideas on what to do next?
Am I missing something obvious?
Is there some advanced configuration to add? (either this addon or postcss). Reading the docs I have a hunch that I could adapt the steps from the advanced addon usage readme section to my app. But I'm not yet entirely sure how to continue or if I should continue on this route at all.
I'd have to dig into the error to understand what's happening, nothing obvious stands out to me.
In the meantime, you can definitely try working with the advanced usage, and use that function to get your css file built and into your treeForStyles, at which point you may then be able to re-run that built css through PostCSS? I would have to dive in to know for sure but don't have time atm...
If you (or anyone) wants to work on a PR to expose the PostCSS pipeline I can also direct.
Hi @samselikoff 👋
I'm trying to use autoprefixer in my app following the example from ember-cli-postcss:
My simple use case is just to add the required prefixes for the
.appearance-none
class tailwind provides.Unfortunately this results in a
Build Error (broccoli-persistent-filter:PostcssFilter)
in unrelated tailwind components I've added and I'm not sure how to continue.Commenting out those components no longer yields the error, but an error is shown in the console:
Refused to apply style from 'http://localhost:4200/assets/my-app.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled
.Any ideas on what to do next?
Thanks in advance!
The text was updated successfully, but these errors were encountered: