Skip to content

Migrate to the Sass module system#7142

Open
jathak wants to merge 5 commits into
tensorflow:masterfrom
jathak:module-system-migration
Open

Migrate to the Sass module system#7142
jathak wants to merge 5 commits into
tensorflow:masterfrom
jathak:module-system-migration

Conversation

@jathak

@jathak jathak commented Jul 10, 2026

Copy link
Copy Markdown

Motivation for features / changes

@import is deprecated in Sass and will be removed from the language in Dart Sass 3.0.0.

Technical description of changes

@import rules in Sass code migrated to equivalent @use rules using the Sass migrator, with namespaces added for any variables/mixins from dependencies. Calls to the global map-get and map-merge functions have been replaced with the map.get and map.merge functions in the sass:map built-in module, with the @use rule added as necessary.

Screenshots of UI changes (or N/A)

N/A, this is a no-op change.

Detailed steps to verify changes work correctly (as executed by you)

This is part of an internal LSC. I don't have the context of how this code is actually used or the bandwidth to set up a full development environment to test, but the migration is straightforward enough that I'm fairly confident your CI would catch anything if it broke. See the internal bug I'm filing for more information and alternatives if this isn't something you're comfortable merging at this time.

Alternate designs / implementations considered (or N/A)

N/A

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