PWA optimization: vite-plugin-pwa, split misc.json, IndexedDB cache layer

This commit is contained in:
catarrh committed 2026-08-01 21:39:10 +03:00
1 parent c342a5b636
commit 8b27bd4767
70 files changed
+5612 -57852

No files matched your search

+1 -1
View File
@@ -224,7 +224,7 @@ export async function convertLives(SRC: string, OUT: string) {
if (saintData) {
const cid = file.replace('.xml', '');
const mm = cid.match(/^(0[1-9]|1[0-2])\d+/)?.[1];
const bundleName = mm ? `${mm}.json` : 'misc.json';
const bundleName = mm ? `${mm}.json` : `misc/${cid.charAt(0)}.json`;
if (!bundles[bundleName]) bundles[bundleName] = {};
bundles[bundleName][cid] = saintData;
count++;