Skip to content

Webpack 5 with SASS dep Fails to bundle js #109

@da-kicks-87

Description

@da-kicks-87

After upgrading to Webpack 5 and other dependencies (mini-css-extract-plugin and sass-loader) my JS fails to rebuild because of importing hamburgers.scss .

Only way to get it to rebuild is to run npm start every time I make a SASS change. Which is redundant.

Does this have to do with DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.?

Here is a screen shot of error from dev tools console

hamburger-js-build-failed

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