-
Couldn't load subscription status.
- Fork 370
Open
Labels
JavaScriptIssues particular to the Node.js distributionIssues particular to the Node.js distributionenhancement
Milestone
Description
Node.js allows ESM modules to import CJS files as though they used a default export, which means there's some amount of existing ESM usage of the sass package via import sass from 'sass'. However, with the browser support changes that landed in 1.63.0, we started providing explicit ESM exports that only work with our desired syntax of import * as sass from 'sass'. We should:
- Re-add a default export for backwards-compatibility but have it emit deprecation warnings (Re-enable support for default exports #2009)
- In Dart Sass 2.0.0, drop this default export
ShenHongFei, perry-mitchell and nqaylorXD
Metadata
Metadata
Assignees
Labels
JavaScriptIssues particular to the Node.js distributionIssues particular to the Node.js distributionenhancement