-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle dependency messages #35
Handle dependency messages #35
Conversation
Can we get this PR merged @claviska? I'd like to see the official Tailwind CSS support for Stencil JS. I believe they are waiting for this PR to be merged. Would be awesome if we can get this going! |
@dtaalbers I no longer have any affiliation with Stencil or the company that maintains it. |
@claviska Oh thats my bad. Sorry to bother you! |
Just a follow-up from someone else on the Tailwind team — Stencil won't work properly out of the box with the JIT engine until it supports both |
FYI, here's a local dev process that is working well for me (admittedly with a specific use case) which allows JIT and HMR Prerequisites
Tailwind
Stencil
index.html
How it works
|
Hey thanks @adamwathan for the direction! I'm going to do some research on dir-dependency and what we need to get it shipped. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, thank you! I'm going to add some tests, investigate dir-dependency then update y'all here soon.
Prereleased v2.1.0-0 and added #38 to investigate the dir-dependency messages. I'd love to get Tailwind's v2 JIT working within a Shadow DOM context and across the board. If anyone has tips or tricks to help get us there, I'd really appreciate it! |
This pull requests adds support for PostCSS
dependency
messages, which are used by plugins to register file dependencies. Documentation: https://github.com/postcss/postcss/blob/main/docs/guidelines/runner.md#3-dependenciesNote that there is also a
dir-dependency
message type but I am not sure how/if Stencil can support this.