Add barcode-detector-api-polyfill dependency and update environment variable declarations in SvelteKit project
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
export function getGlobalScope() {
|
||||
if (typeof global !== 'undefined')
|
||||
return global;
|
||||
if (typeof window !== 'undefined')
|
||||
return window;
|
||||
if (typeof self !== 'undefined')
|
||||
return self;
|
||||
return;
|
||||
}
|
||||
//# sourceMappingURL=getGlobalScope.js.map
|
||||
Reference in New Issue
Block a user