File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed
packages/browser-utils/src/metrics/web-vitals Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1414 * limitations under the License.
1515 */
1616
17- import { bindReporter } from './lib/bindReporter.js ' ;
18- import { getVisibilityWatcher } from './lib/getVisibilityWatcher.js ' ;
19- import { initMetric } from './lib/initMetric.js ' ;
20- import { observe } from './lib/observe.js ' ;
21- import { onHidden } from './lib/onHidden.js ' ;
17+ import { bindReporter } from './lib/bindReport ' ;
18+ import { getVisibilityWatcher } from './lib/getVisibilityWatcher' ;
19+ import { initMetric } from './lib/initMetric' ;
20+ import { observe } from './lib/observe' ;
21+ import { onHidden } from './lib/onHidden' ;
2222import { runOnce } from './lib/runOnce' ;
23- import { whenActivated } from './lib/whenActivated.js ' ;
23+ import { whenActivated } from './lib/whenActivated' ;
2424import type { FIDMetric , MetricRatingThresholds , ReportOpts } from './types' ;
2525
2626/** Thresholds for FID. See https://web.dev/articles/fid#what_is_a_good_fid_score */
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ import { initInteractionCountPolyfill } from './lib/polyfills/interactionCountPo
2424import { whenActivated } from './lib/whenActivated' ;
2525import { whenIdle } from './lib/whenIdle' ;
2626
27- import type { INPMetric , MetricRatingThresholds , ReportOpts } from './types.js ' ;
27+ import type { INPMetric , MetricRatingThresholds , ReportOpts } from './types' ;
2828
2929/** Thresholds for INP. See https://web.dev/articles/inp#what_is_a_good_inp_score */
3030export const INPThresholds : MetricRatingThresholds = [ 200 , 500 ] ;
Original file line number Diff line number Diff line change 1717import { bindReporter } from './lib/bindReporter' ;
1818import { getActivationStart } from './lib/getActivationStart' ;
1919import { getVisibilityWatcher } from './lib/getVisibilityWatcher' ;
20- import { initMetric } from './lib/initMetric.js ' ;
21- import { observe } from './lib/observe.js ' ;
22- import { whenActivated } from './lib/whenActivated.js ' ;
20+ import { initMetric } from './lib/initMetric' ;
21+ import { observe } from './lib/observe' ;
22+ import { whenActivated } from './lib/whenActivated' ;
2323import type { FCPMetric , MetricRatingThresholds , ReportOpts } from './types' ;
2424
2525/** Thresholds for FCP. See https://web.dev/articles/fcp#what_is_a_good_fcp_score */
You can’t perform that action at this time.
0 commit comments