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
Reinstate and document workaround feature #4592
Conversation
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.
Looks fine
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.
I left some notes about TypeScript definitions. Perhaps we will handle them later.
(They are enough in this PR!)
|
||
interface Input { | ||
css?: string; | ||
} |
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.
[note] This css
property is missing the official PostCSS type definitions:
interface NodeSource { | ||
lang?: string; | ||
|
||
} |
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.
[note] This lang
property seems an extension by postcss-syntax
. I cannot find it in the PostCSS core repository.
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.
Do you know what the best way of handling this is?
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.
No, I'm not sure now. 😣
This solution seems best for us now.
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.
LGTM! 👍
Co-Authored-By: Stephen Edgar <stephen@netweb.com.au>
Co-Authored-By: Masafumi Koba <473530+ybiquitous@users.noreply.github.com>
Co-Authored-By: Masafumi Koba <473530+ybiquitous@users.noreply.github.com>
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.
Nice! 👍
(If time is short, please review this pull request over #4591 so that we can address #3514.)
Follow on from #4573
This pull request is also part of the stream of work to better surface syntaxes so that we can muster support for them. After we merge this pull request, I plan to post comments on the issues mentioned in #4574 pointing to this new feature.
--
I'm not sure how it happened, but buried at the bottom of #4588 were some changes that reverted the actual workaround feature added in #4573. I've recovered those changes in this pull request.