Fix globals not being treeshakable by some bundlers (fixes #172)

This commit is contained in:
Vanilagy
2025-11-12 13:11:18 +01:00
parent 12216ae29e
commit 3cb6ed82ce
12 changed files with 34 additions and 34 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ import {
readCodedNumber,
} from './flac-misc';
const FLAC_HEADER = new Uint8Array([0x66, 0x4c, 0x61, 0x43]); // 'fLaC'
const FLAC_HEADER = /* #__PURE__ */ new Uint8Array([0x66, 0x4c, 0x61, 0x43]); // 'fLaC'
const STREAMINFO_SIZE = 38;
const STREAMINFO_BLOCK_SIZE = 34;