jonsuh / hamburgers

Tasty CSS-animated Hamburgers
https://jonsuh.com/hamburgers
MIT License
7.07k stars 1.63k forks source link

Webpack 5 with SASS dep Fails to bundle js #109

Open da-kicks-87 opened 3 years ago

da-kicks-87 commented 3 years ago

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

JamesRobertWiseman commented 2 years ago

Fixed with #105