mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2026-01-21 14:13:46 +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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user