1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-19 06:06:54 +00:00

perf: modular sass architecture (#2052)

- 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:
Cotes Chung
2024-11-25 00:05:28 +08:00
committed by GitHub
parent c69914effc
commit 35c794cf58
45 changed files with 2523 additions and 2502 deletions

View File

@@ -92,7 +92,8 @@ init_files() {
npm i && npm run build
# track the CSS/JS output
_sedi "/.*\/dist$/d" .gitignore
_sedi "/^_sass\/vendors/d" .gitignore
_sedi "/^assets\/js\/dist/d" .gitignore
}
commit() {

View File

@@ -15,7 +15,7 @@ NODE_SPEC="package.json"
CHANGELOG="docs/CHANGELOG.md"
CONFIG="_config.yml"
CSS_DIST="_sass/dist"
CSS_DIST="_sass/vendors"
JS_DIST="assets/js/dist"
FILES=(