Skip to content

Deprecation Warning: sass-loader breaking changes #2398

@alexvenetis

Description

@alexvenetis

When upgrading sass-loader to version 16.0.4, I am getting the following compilation warning:

In order to get a successful complication of vue-material using webpack, had to suppress the following sass modules.

sass-loader webpack config to suppress warnings:

{
  loader: "sass-loader",
  options: {
    api: "modern-compiler",
    sassOptions: {
      silenceDeprecations: [
        'legacy-js-api',
        'slash-div',
        'color-functions',
        'global-builtin',
        'import',
      ]
    },
  },
},

More info can be found here:

https://sass-lang.com/documentation/js-api/interfaces/deprecations/

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