fix(plugin): 便利贴产物改为内容寻址文件名(内容已变,哈希名必须跟着变)
plugins/runtime 的单文件插件按 plugin-<id>.<sha256前12位>.js 命名(内容寻址 + CDN immutable 缓存)。 上一轮改内容时只更新了 index.json 的 integrity、没改文件名 ⇒ 市场索引指向旧名, 而旧名在 CDN 上是 immutable 的,会出现「清单写新哈希、取到旧字节」。 改名 plugin-sticky.f5f77ac81467.js → plugin-sticky.f3b835f60b8a.js(实算哈希一致), plugins/index.json 的 file 字段同步。
This commit is contained in:
1 parent
e02c3b66e9
commit
8f8de1cd26
2 files changed
+1
-1
No files matched your search
+1
-1
@@ -75,7 +75,7 @@
|
||||
},
|
||||
{
|
||||
"id": "sticky",
|
||||
"file": "plugin-sticky.f5f77ac81467.js",
|
||||
"file": "plugin-sticky.f3b835f60b8a.js",
|
||||
"version": "1.0.9",
|
||||
"integrity": "sha256-87g19guK6S/+xKNXRf3UKw/ODlZChhtZcUdKtAZ8g9o="
|
||||
},
|
||||
|
||||
File renamed without changes.
Reference in new issue
Block a user