fsevents-importer.js 884 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. @license
  3. Rollup.js v4.34.8
  4. Mon, 17 Feb 2025 06:25:53 GMT - commit 8f667b7c15b176728449a4917cb29fe5ee3a1c0c
  5. https://github.com/rollup/rollup
  6. Released under the MIT License.
  7. */
  8. 'use strict';
  9. let fsEvents;
  10. let fsEventsImportError;
  11. async function loadFsEvents() {
  12. try {
  13. ({ default: fsEvents } = await import('fsevents'));
  14. }
  15. catch (error) {
  16. fsEventsImportError = error;
  17. }
  18. }
  19. // A call to this function will be injected into the chokidar code
  20. function getFsEvents() {
  21. if (fsEventsImportError)
  22. throw fsEventsImportError;
  23. return fsEvents;
  24. }
  25. const fseventsImporter = /*#__PURE__*/Object.defineProperty({
  26. __proto__: null,
  27. getFsEvents,
  28. loadFsEvents
  29. }, Symbol.toStringTag, { value: 'Module' });
  30. exports.fseventsImporter = fseventsImporter;
  31. exports.loadFsEvents = loadFsEvents;
  32. //# sourceMappingURL=fsevents-importer.js.map