feat(压缩编辑): 复用资源引用,优化压缩性能
build.yaml / build (push) Successful in 49s

This commit is contained in:
xiaoqidun committed 2026-10-11 11:55:31 +08:00
1 parent 6c3068b813
commit cfbaa8a177
5 files changed
+28 -21

No files matched your search

+1 -1
View File
@@ -133,7 +133,7 @@ func scanEditorResources(ctx context.Context, reader *Reader, parts map[string][
if resource {
resources = append(resources, name)
}
if collect && (resource || len(local.ids) != 0 || len(local.fonts) != 0) {
if collect {
references[name] = local
}
}