1 |
- {"ast":null,"code":"const reportWebVitals = onPerfEntry => {\n if (onPerfEntry && onPerfEntry instanceof Function) {\n import('web-vitals').then(_ref => {\n let {\n getCLS,\n getFID,\n getFCP,\n getLCP,\n getTTFB\n } = _ref;\n getCLS(onPerfEntry);\n getFID(onPerfEntry);\n getFCP(onPerfEntry);\n getLCP(onPerfEntry);\n getTTFB(onPerfEntry);\n });\n }\n};\n\nexport default reportWebVitals;","map":{"version":3,"sources":["/home/ilya/projects/NIX/homework/react/react-store/src/reportWebVitals.js"],"names":["reportWebVitals","onPerfEntry","Function","then","getCLS","getFID","getFCP","getLCP","getTTFB"],"mappings":"AAAA,MAAMA,eAAe,GAAGC,WAAW,IAAI;AACrC,MAAIA,WAAW,IAAIA,WAAW,YAAYC,QAA1C,EAAoD;AAClD,WAAO,YAAP,EAAqBC,IAArB,CAA0B,QAAiD;AAAA,UAAhD;AAAEC,QAAAA,MAAF;AAAUC,QAAAA,MAAV;AAAkBC,QAAAA,MAAlB;AAA0BC,QAAAA,MAA1B;AAAkCC,QAAAA;AAAlC,OAAgD;AACzEJ,MAAAA,MAAM,CAACH,WAAD,CAAN;AACAI,MAAAA,MAAM,CAACJ,WAAD,CAAN;AACAK,MAAAA,MAAM,CAACL,WAAD,CAAN;AACAM,MAAAA,MAAM,CAACN,WAAD,CAAN;AACAO,MAAAA,OAAO,CAACP,WAAD,CAAP;AACD,KAND;AAOD;AACF,CAVD;;AAYA,eAAeD,eAAf","sourcesContent":["const reportWebVitals = onPerfEntry => {\n if (onPerfEntry && onPerfEntry instanceof Function) {\n import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {\n getCLS(onPerfEntry);\n getFID(onPerfEntry);\n getFCP(onPerfEntry);\n getLCP(onPerfEntry);\n getTTFB(onPerfEntry);\n });\n }\n};\n\nexport default reportWebVitals;\n"]},"metadata":{},"sourceType":"module"}
|