mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2026-01-17 20:28:30 +00:00
feat: upgrade sass architecture
- Modularized the Sass architecture to enhance code maintainability and reduce the output file size - Replaced deprecated `@import` with `@use` / `@forward`
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
"homepage": "https://github.com/cotes2020/jekyll-theme-chirpy/",
|
||||
"scripts": {
|
||||
"build": "concurrently npm:build:*",
|
||||
"build:css": "purgecss -c purgecss.config.js",
|
||||
"build:css": "node purgecss.js",
|
||||
"build:js": "rollup -c --bundleConfigAsCjs --environment BUILD:production",
|
||||
"watch:js": "rollup -c --bundleConfigAsCjs -w",
|
||||
"lint:scss": "stylelint _sass/**/*.scss",
|
||||
@@ -69,6 +69,9 @@
|
||||
}
|
||||
},
|
||||
"stylelint": {
|
||||
"ignoreFiles": [
|
||||
"_sass/vendor/**"
|
||||
],
|
||||
"extends": "stylelint-config-standard-scss",
|
||||
"rules": {
|
||||
"no-descending-specificity": null,
|
||||
|
||||
Reference in New Issue
Block a user