Skip to content

Dart Sass 3 support? #240

@ralf57

Description

@ralf57

Hello,
I'm using this module in a Nuxt 2 project.
The module version is 1.2.2, along with "sass" and "sass-loader" packages.
The configuration is:

styleResources: {
    scss: ['./globals/index.scss'],
    hoistUseStatements: true,
  },

All of a sudden, I've started having hundreds of deprecation warnings like:

Deprecation Warning [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
More info and automated migrator: https://sass-lang.com/d/import

so I replaced all the @import statements with @use.
This made most deprecation warnings go but the app does not build anymore.
The Sass variables used in the .scss and in the Vue components file are undefined.

Do you have an idea or a suggestion?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions