1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 13:44:15 +00:00

feat: add pwa.cache.* option to precisely control caching (#1501)

This commit is contained in:
Cotes Chung
2024-01-28 02:22:33 +08:00
committed by GitHub
parent ea3a22e13c
commit 1127c43823
18 changed files with 272 additions and 228 deletions

View File

@@ -13,9 +13,9 @@
},
"homepage": "https://github.com/cotes2020/jekyll-theme-chirpy/",
"scripts": {
"prebuild": "npx rimraf assets/js/dist",
"prebuild": "npx rimraf assets/js/dist sw.min.js*",
"build": "NODE_ENV=production npx rollup -c --bundleConfigAsCjs",
"prewatch": "npx rimraf assets/js/dist",
"prewatch": "npx rimraf assets/js/dist sw.min.js*",
"watch": "npx rollup -c --bundleConfigAsCjs -w",
"test": "npx stylelint _sass/**/*.scss",
"fixlint": "npm run test -- --fix"