You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
884 B
38 lines
884 B
1 month ago
|
/*
|
||
|
@license
|
||
|
Rollup.js v4.24.0
|
||
|
Wed, 02 Oct 2024 09:36:48 GMT - commit d3c000f4fd453e39a354299f0cfaa6831f56d7d8
|
||
|
|
||
|
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
|