feat: more compression

This commit is contained in:
TrèsAbhi committed 2024-02-05 13:33:23 -06:00
1 parent afe041f969
commit 1575b803c0
11 files changed
+135 -59

No files matched your search

+4 -6
View File
@@ -1,4 +1,5 @@
import { asset } from './asset';
import { fetchBkonLz4 } from './fetchBkonLz4';
export type TankFilterDefinitionCategory = 'clip';
@@ -33,9 +34,6 @@ export interface ConsumableDefinitions {
[key: string]: ConsumableEntry;
}
export const consumableDefinitions = fetch(
asset('definitions/consumables.json'),
{
cache: 'no-cache',
},
).then(async (response) => response.json() as Promise<ConsumableDefinitions>);
export const consumableDefinitions = fetchBkonLz4<ConsumableDefinitions>(
asset('definitions/consumables.bkon.lz4'),
);