Skip to content

Comments

Implement sass --embedded in pure JS mode#2413

Draft
ntkme wants to merge 23 commits intosass:mainfrom
ntkme:embedded-compiler
Draft

Implement sass --embedded in pure JS mode#2413
ntkme wants to merge 23 commits intosass:mainfrom
ntkme:embedded-compiler

Conversation

@ntkme
Copy link
Contributor

@ntkme ntkme commented Oct 26, 2024

Closes #2325.

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

  • All Dart embedded tests are passing. - GitHub CI has been updated to run these in this PR.
  • All JS API tests are passing. - GitHub CI has been updated to run these in this PR.
  • All Ruby API tests are passing.

Current Status

Functionally it's ready to merge. Cosmetically it's waiting on dart-sass (depends on node_interop) to migrate off the legacy js interop to avoid the confusion of mixing legacy and new js interop.

Because FreeBSD support has been requested a lot for ruby's sass-embedded gem, this patch has been bundled within sass-embedded gem.

@ntkme ntkme force-pushed the embedded-compiler branch from 8d7d4de to 7084da7 Compare October 26, 2024 02:31
@ntkme ntkme marked this pull request as ready for review October 26, 2024 02:50
@ntkme ntkme marked this pull request as draft October 26, 2024 03:40
@ntkme ntkme force-pushed the embedded-compiler branch 2 times, most recently from e66df5b to d53fcc5 Compare October 26, 2024 17:27
@ntkme ntkme force-pushed the embedded-compiler branch 9 times, most recently from d7e6206 to b3794eb Compare October 28, 2024 06:35
@ntkme ntkme marked this pull request as ready for review October 28, 2024 06:49
@ntkme ntkme force-pushed the embedded-compiler branch 3 times, most recently from 9112b44 to 54fabf3 Compare October 28, 2024 07:42
@ntkme ntkme force-pushed the embedded-compiler branch 8 times, most recently from 257b4fd to ac718ee Compare October 28, 2024 21:03
@ntkme ntkme force-pushed the embedded-compiler branch 2 times, most recently from e59275d to 757b6a9 Compare December 16, 2025 19:08
@ntkme ntkme force-pushed the embedded-compiler branch from 757b6a9 to 7404f1a Compare December 19, 2025 21:35
@ntkme ntkme force-pushed the embedded-compiler branch from 7404f1a to c836504 Compare January 6, 2026 00:39
@ntkme ntkme force-pushed the embedded-compiler branch from c836504 to f41bdae Compare January 21, 2026 23:45
@ntkme ntkme force-pushed the embedded-compiler branch from f41bdae to 8289188 Compare January 29, 2026 01:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement sass --embedded in pure JS mode

5 participants