Skip to content

Implement sass --embedded in pure JS mode #2325

Open
@ntkme

Description

There has been a few requests for BSD support on the sass-embedded-host-ruby:

The most reasonable solution seems to be implementing sass --embedded in pure JS mode so that we can run embedded compiler using Node.js runtime on platforms that Dart runtime has no support. Aside from BSD, this will also allow users of some minor CPU architecture to run embedded host.

The pure JS implementation should be very similar to the current Dart implementation:

  • Use synchronous compilation only for better performance.
  • Use Node.js worker threads to replace Dart isolates.
  • Use SyncMessagePort from embedded-host-node to replace Mailbox.

Metadata

Assignees

No one assigned

    Labels

    JavaScriptIssues particular to the Node.js distributionenhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions