|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
'use strict'; |
|
|
|
let fsEvents; |
|
let fsEventsImportError; |
|
async function loadFsEvents() { |
|
try { |
|
({ default: fsEvents } = await import('fsevents')); |
|
} |
|
catch (error) { |
|
fsEventsImportError = error; |
|
} |
|
} |
|
|
|
function getFsEvents() { |
|
if (fsEventsImportError) |
|
throw fsEventsImportError; |
|
return fsEvents; |
|
} |
|
|
|
const fseventsImporter = Object.defineProperty({ |
|
__proto__: null, |
|
getFsEvents, |
|
loadFsEvents |
|
}, Symbol.toStringTag, { value: 'Module' }); |
|
|
|
exports.fseventsImporter = fseventsImporter; |
|
exports.loadFsEvents = loadFsEvents; |
|
|
|
|