Skip to content

Backport deprecation API to legacy JS API#3907

Merged
jathak merged 2 commits intomainfrom
deprecation-backport
Sep 3, 2024
Merged

Backport deprecation API to legacy JS API#3907
jathak merged 2 commits intomainfrom
deprecation-backport

Conversation

@jathak
Copy link
Member

@jathak jathak commented Jul 29, 2024

This is a fast-track proposal to backport the deprecation options to work in the legacy JS API. Some bundlers don't support the modern API, so adding these options to the legacy API allows users of those bundlers to still control their deprecation warnings.

The behavior of each option in the legacy API matches its behavior in the modern API (the text here is directly copied from the modern API spec).

[skip dart-sass]
[skip sass-embedded]

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the specs, I think it's fine to just link to the non-legacy API definitions rather than writing them out again.

@jathak jathak merged commit 28d4ed2 into main Sep 3, 2024
@jathak jathak deleted the deprecation-backport branch September 3, 2024 22:04
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.

2 participants