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