refactor(core): zero circulars + esm ready (#10770)

This commit is contained in:
Nathan Walker
2025-09-18 17:03:23 -07:00
committed by GitHub
parent 1e54baf198
commit c2ff8c1ae7
306 changed files with 9136 additions and 9889 deletions

View File

@ -1,3 +1,5 @@
// @ts-ignore apps resolve this at runtime with path alias in project bundlers
import appConfig from '~/package.json';
/* eslint-disable prefer-rest-params */
declare let __startCPUProfiler: any;
declare let __stopCPUProfiler: any;
@ -158,7 +160,6 @@ export function enable(mode: InstrumentationMode = 'counters') {
}
try {
const appConfig = require('~/package.json');
if (appConfig && appConfig.profiling) {
enable(appConfig.profiling);
}