Add barcode-detector-api-polyfill dependency and update environment variable declarations in SvelteKit project
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
import { TextDecoder } from "../common/TextDecoder";
|
||||
import { TextEncoder } from "../common/TextEncoder";
|
||||
if (!global['TextEncoder'])
|
||||
global['TextEncoder'] = TextEncoder;
|
||||
if (!global['TextDecoder'])
|
||||
global['TextDecoder'] = TextDecoder;
|
||||
//# sourceMappingURL=polyfill.js.map
|
||||
Reference in New Issue
Block a user