Skip to content

SASS : Using / for division outside of calc() is deprecated #283

Description

@Dominique92

Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.
The reason is that Sass currently treats / as a division operation in some contexts and a separator in others.
his makes it difficult for Sass users to tell what any given / will mean, and makes it hard to work with new CSS features that use / as a separator.

This makes modules used for sass rollup (node-sass 8.0.0, node-sass-json-importer 4.3.0) using the old syntax
incompatible with the modules used to test sass under vite (sass: 1.71.1, sass-math 1.0.0") only accepts the new syntax.
This raises risks for rollup after the modules evolution to Dart Sass 2.0.0.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions