build(cdn): 📦 更换cdn为unpkg、新增service_worker缓存资源文件

closed #772
This commit is contained in:
huangjunsen0406
2025-04-15 04:03:28 +08:00
parent 2bab917b3e
commit dd7d23498f
12 changed files with 4147 additions and 47 deletions
+3 -2
View File
@@ -31,7 +31,8 @@
"sass": "^1.32.7",
"sass-loader": "^12.0.0",
"vue-template-compiler": "^2.6.14",
"webpack-bundle-analyzer": "^4.10.2"
"webpack-bundle-analyzer": "^4.10.2",
"workbox-webpack-plugin": "^7.3.0"
},
"browserslist": [
"> 1%",
@@ -43,4 +44,4 @@
"*.scss",
"*.vue"
]
}
}