mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-25 22:04:06 -06:00
23 lines
617 B
JavaScript
23 lines
617 B
JavaScript
'use strict';
|
|
|
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
|
var blob = require('@web-std/blob');
|
|
var file = require('./file.cjs');
|
|
|
|
// Electron-renderer should get the browser implementation instead of node
|
|
// Browser configuration is not enough
|
|
|
|
// Marking export as a DOM File object instead of custom class.
|
|
/** @type {typeof globalThis.File} */
|
|
const File = typeof globalThis.File === "function" ? globalThis.File : file.File;
|
|
|
|
Object.defineProperty(exports, 'Blob', {
|
|
enumerable: true,
|
|
get: function () {
|
|
return blob.Blob;
|
|
}
|
|
});
|
|
exports.File = File;
|
|
//# sourceMappingURL=lib.node.cjs.map
|