Switch from node-sass to sass to fix bogus invalid CSS warning

Error in plugin "sass"
Message:
    node_modules/motion-ui/src/util/_unit.scss
Error: Invalid CSS after "  $dividend: math": expected expression (e.g. 1px, bold), was ".abs($dividend);"
        on line 17 of node_modules/motion-ui/src/util/_unit.scss
        from line 14 of node_modules/motion-ui/src/motion-ui.scss
        from line 47 of scss/peceful.scss
>>   $dividend: math.abs($dividend);

Fix for what seems a parallel situation per:
https://stackoverflow.com/questions/67195466/sasserror-invalid-css-expected-expression-e-g-1px-bold
This commit is contained in:
benjamin melançon 2024-04-21 07:04:19 -04:00
parent 3ecb8eac34
commit 2fc3bf14d6

View file

@ -11,6 +11,7 @@
"dependencies": { "dependencies": {
"foundation-sites": "6.7.4", "foundation-sites": "6.7.4",
"motion-ui": "~2.0.3", "motion-ui": "~2.0.3",
"sass": "^1.75.0",
"what-input": "^5.2.10" "what-input": "^5.2.10"
}, },
"devDependencies": { "devDependencies": {
@ -37,7 +38,6 @@
"gulp-terser": "^2.0.1", "gulp-terser": "^2.0.1",
"js-yaml": "^4.1.0", "js-yaml": "^4.1.0",
"js-yaml-js-types": "^1.0.0", "js-yaml-js-types": "^1.0.0",
"node-sass": "^6.0.1",
"postcss": "^8.3.11", "postcss": "^8.3.11",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"uncss": "^0.17.3", "uncss": "^0.17.3",