-
Notifications
You must be signed in to change notification settings - Fork 0
Postcss #7
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
base: main
Are you sure you want to change the base?
Postcss #7
Conversation
ryanbethel
left a comment
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.
This looks good. Glad we can finally support new css features as soon as they land.
In order to support compiling this to WASM I think we will have to vendor the prettify package eventually. It uses node APIs (fs and path) that are not available for WASM.
|
OK I forked and fixed the existing postcss-prettify here: Will update this PR to use the fixed version |
|
OK @ryanbethel I updated to an external postcss shady-selectors plugin and forked prettify to remove unused deps that were breaking WASM compilation. Can you give this another whirl and see if it satisfies the requirements please? |
ryanbethel
left a comment
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 think the PR is great. Code changes look good. When trying to compile to wasm I had a new issue. The wasm now compiles so that problem is fixed. But the binary goes from 4meg to 13meg. Not sure if that is a problem. The bigger problem is that it does not work. I suspect some async function, but I will have to dig in a bit more to find out.
|
Bummer. |
ryanbethel
left a comment
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.
Swaps out css with postcss due to lack of support.
Adds CSS nesting selectors.