Skip to content

Use Sass modules #262

@hartsick

Description

@hartsick

At the end of 2019 Sass announced moving to modules, a move away from @import statements. We should do the same, and migrate to modules / @use.

Timeline link
One year after both Dart Sass and LibSass have launched support for the module system or two years after Dart Sass launches support for the module system, whichever comes sooner (1 October 2021 at latest), we will deprecate @import as well as global core library function calls that could be made through modules.

One year after this deprecation goes into effect (1 October 2022 at latest), we will drop support for @import and most global functions entirely. This will involve a major version release for all implementations.

Split out of #260

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionSubjects for group discussionenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions