mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
feat: more compression
This commit is contained in:
1 parent
afe041f969
commit
1575b803c0
11 files changed
+135
-59
No files matched your search
@@ -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'),
|
||||
);
|
||||
Reference in new issue
Block a user