ui: upgrade packages and hash size

This commit is contained in:
undefined committed 2022-10-12 02:00:13 +08:00
1 parent 4bf16b2784
commit 0cf108d534
4 files changed
+18 -21

No files matched your search

+2 -2
View File
@@ -57,8 +57,8 @@ async function runWebpack({
if (!file.isFile() || file.name.endsWith('.map')) continue;
const data = await fs.stat(path.join(root('public'), file.name));
const key = file.name
.replace(/\.[a-f0-9]{4}\.chunk\./, '.chunk.')
.replace(/\.[a-f0-9]{4}\.worker\./, '.worker.');
.replace(/\.[a-f0-9]{6}\.chunk\./, '.chunk.')
.replace(/\.[a-f0-9]{6}\.worker\./, '.worker.');
stats[key] = data.size;
}
const statsPath = root('__bundleInfo');