Skip to content

sass-loader >11 compatibility #8771

@thebrownfox

Description

@thebrownfox

Versions

  • nuxt: 2.14.12
  • node: 15

Reproduction

Update sass-loader to latest release (11.0.0).

It's happening because it's compatible only with webpack 5.
https://github.com/webpack-contrib/sass-loader/releases/tag/v11.0.0

What is Expected?

Build project.

What is actually happening?

Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
TypeError: this.getOptions is not a function
    at Object.loader

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions