main
Last change
on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
884 bytes
|
Line | |
---|
1 | /*
|
---|
2 | @license
|
---|
3 | Rollup.js v4.20.0
|
---|
4 | Sat, 03 Aug 2024 04:48:21 GMT - commit df12edfea6e9c1a71bda1a01bed1ab787b7514d5
|
---|
5 |
|
---|
6 | https://github.com/rollup/rollup
|
---|
7 |
|
---|
8 | Released under the MIT License.
|
---|
9 | */
|
---|
10 | 'use strict';
|
---|
11 |
|
---|
12 | let fsEvents;
|
---|
13 | let fsEventsImportError;
|
---|
14 | async function loadFsEvents() {
|
---|
15 | try {
|
---|
16 | ({ default: fsEvents } = await import('fsevents'));
|
---|
17 | }
|
---|
18 | catch (error) {
|
---|
19 | fsEventsImportError = error;
|
---|
20 | }
|
---|
21 | }
|
---|
22 | // A call to this function will be injected into the chokidar code
|
---|
23 | function getFsEvents() {
|
---|
24 | if (fsEventsImportError)
|
---|
25 | throw fsEventsImportError;
|
---|
26 | return fsEvents;
|
---|
27 | }
|
---|
28 |
|
---|
29 | const fseventsImporter = /*#__PURE__*/Object.defineProperty({
|
---|
30 | __proto__: null,
|
---|
31 | getFsEvents,
|
---|
32 | loadFsEvents
|
---|
33 | }, Symbol.toStringTag, { value: 'Module' });
|
---|
34 |
|
---|
35 | exports.fseventsImporter = fseventsImporter;
|
---|
36 | exports.loadFsEvents = loadFsEvents;
|
---|
37 | //# sourceMappingURL=fsevents-importer.js.map
|
---|
Note:
See
TracBrowser
for help on using the repository browser.