fsevents-importer.js 884 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. @license
  3. Rollup.js v4.24.2
  4. Sun, 27 Oct 2024 15:39:37 GMT - commit 32d0e7dae85121ac0850ec28576a10a6302f84a9
  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