refactor: replace deprecated global functions to fix Sass warnings

This commit is contained in:
Lucas Larroche 2025-03-15 12:03:28 +07:00
parent 0a77e6f335
commit 537e3aedc2
9 changed files with 65 additions and 39 deletions

View file

@ -36,7 +36,7 @@
"lint": "run-s \"lint:*\" --silent",
"lint:prettier": "prettier --write --log-level silent 'scss/**/*.scss'",
"lint:sort-scss": "postcss --config scss ./scss/**/*.scss --replace",
"build:css": "sass --no-source-map --style expanded --no-error-css scss/:css/ --silence-deprecation=global-builtin",
"build:css": "sass --no-source-map --style expanded --no-error-css scss/:css/",
"build:themes": "node scripts/build-themes",
"build:autoprefix": "postcss --config css --replace css/*.css !css/*.min.css",
"build:minify": "cleancss -O1 --with-rebase --batch --batch-suffix .min css/*.css !css/*.min.css",