-
Notifications
You must be signed in to change notification settings - Fork 356
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
Implement sass --embedded
in pure JS mode
#2413
base: main
Are you sure you want to change the base?
Conversation
8d7d4de
to
7084da7
Compare
e66df5b
to
d53fcc5
Compare
d7e6206
to
b3794eb
Compare
9112b44
to
54fabf3
Compare
257b4fd
to
ac718ee
Compare
d3c7314
to
1cb26f3
Compare
Ok, one more quirk for node worker. The way stdout/stderr stream in the worker thread works is that the worker posts message to the main thread and then the main thread writes the message asynchronously. So we cannot eagerly exit the main isolate, or otherwise the error message that the worker printed to stderr might get lost. |
5d9c449
to
2fff2e7
Compare
5233c41
to
7dc1e92
Compare
d0c8c1f
to
5fa8f0d
Compare
1ebb5d1
to
2d1e04d
Compare
f0ea835
to
b19c6a8
Compare
b19c6a8
to
97d5c35
Compare
f6e6c4b
to
1e8e188
Compare
7d10b08
to
6ef6075
Compare
77045ba
to
37060c0
Compare
@nex3 I can see that the team is focusing most of the time on the postcss sass parser and this pull request has low priority. However, I would like to get this done in next few month before dart 3.8 become stable so that we can offer this as a replacement for dart ia32. Please take a look when you get a chance and let me know if you have any questions. |
Closes #2325.
sass/embedded-host-node#344
Implementation
The actual isolate dispatcher and compilation dispatcher are nearly unchanged. However, I had to replace isolate with worker communication, and mock tons of small things that do not work on node.
Testing