Skip to content

Help migrate Node Sass tools to be implementation-agnostic #267

Closed
@nex3

Description

@nex3

There are a number of Node.js tools out there today that use Node Sass, either directly or as a plugin for a broader build system. In order to make it easier for JS users to use Node Sass, we should help those tools migrate to something that supports Dart Sass as well.

Given a tool that depends on Node Sass and imports it directly, this probably means:

  • Removing the Node Sass dependency.

  • Changing the API to take the Sass implementation as a parameter. How this work may depend on the specific library involved, but one simple example would be:

    var sass = require('gulp-sass')(require('sass'));
  • This will probably be a breaking change to the package, so include a major version bump.

These seem to be the most widely-used integration packages:

(If anyone has any more packages, let us know!)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions