mirror of
https://github.com/JasonYANG170/IOTConnect-Web.git
synced 2024-11-27 14:16:34 +00:00
38 lines
884 B
JavaScript
38 lines
884 B
JavaScript
/*
|
|
@license
|
|
Rollup.js v4.13.0
|
|
Tue, 12 Mar 2024 05:27:08 GMT - commit 1c8afed74bd81cd38ad0b373ea6b6ec382975013
|
|
|
|
https://github.com/rollup/rollup
|
|
|
|
Released under the MIT License.
|
|
*/
|
|
'use strict';
|
|
|
|
let fsEvents;
|
|
let fsEventsImportError;
|
|
async function loadFsEvents() {
|
|
try {
|
|
({ default: fsEvents } = await import('fsevents'));
|
|
}
|
|
catch (error) {
|
|
fsEventsImportError = error;
|
|
}
|
|
}
|
|
// A call to this function will be injected into the chokidar code
|
|
function getFsEvents() {
|
|
if (fsEventsImportError)
|
|
throw fsEventsImportError;
|
|
return fsEvents;
|
|
}
|
|
|
|
const fseventsImporter = /*#__PURE__*/Object.defineProperty({
|
|
__proto__: null,
|
|
getFsEvents,
|
|
loadFsEvents
|
|
}, Symbol.toStringTag, { value: 'Module' });
|
|
|
|
exports.fseventsImporter = fseventsImporter;
|
|
exports.loadFsEvents = loadFsEvents;
|
|
//# sourceMappingURL=fsevents-importer.js.map
|