1 line
9.3 KiB
Plaintext
1 line
9.3 KiB
Plaintext
{"version":3,"sources":["../../../../src/build/webpack/plugins/profiling-plugin.ts"],"names":["spans","webpackInvalidSpans","ProfilingPlugin","pluginName","WeakMap","moduleSpansByCompilation","makeSpanByCompilation","sealSpanByCompilation","TRACE_LABELS_SEAL","inTraceLabelsSeal","label","some","l","startsWith","constructor","runWebpackSpan","apply","compiler","traceTopLevelHooks","traceCompilationHooks","traceHookPair","spanName","startHook","stopHook","parentSpan","attrs","onStart","onStop","span","tap","name","stage","Infinity","params","attributes","traceChild","stop","hooks","compilation","afterCompile","get","set","options","mode","invalid","done","delete","fileName","trigger","emit","afterEmit","make","finishMake","compilationSpan","_span","buildModule","module","moduleType","userRequest","split","pop","issuerModule","moduleGraph","getIssuer","moduleSpans","issuerSpan","incomingConnection","getIncomingConnections","entrySpan","dependency","setAttribute","layer","moduleHooks","NormalModule","getCompilationHooks","readResource","for","undefined","intercept","register","tapInfo","fn","loaderContext","callback","moduleSpan","currentTraceSpan","err","result","loader","succeedModule","failedModule","seal","afterSeal","addEntry","entry","addEntrySpan","request","succeedEntry","failedEntry","beforeChunks","afterChunks","optimize","reviveModules","optimizeModules","afterOptimizeModules","optimizeChunks","afterOptimizeChunks","optimizeTree","afterOptimizeTree","optimizeChunkModules","afterOptimizeChunkModules","beforeModuleHash","afterModuleHash","beforeCodeGeneration","afterCodeGeneration","beforeHash","afterHash","beforeModuleAssets","logs","Map","originalTime","logger","time","originalTimeEnd","timeEnd","call","replace"],"mappings":";;;;;;;;;;;;;;;;IAKaA,KAAK;eAALA;;IAOAC,mBAAmB;eAAnBA;;IAcAC,eAAe;eAAfA;;;yBA1BgB;AAI7B,MAAMC,aAAa;AACZ,MAAMH,QAAQ,IAAII;AACzB,MAAMC,2BAA2B,IAAID;AAIrC,MAAME,wBAAwB,IAAIF;AAClC,MAAMG,wBAAwB,IAAIH;AAC3B,MAAMH,sBAAsB,IAAIG;AAEvC,MAAMI,oBAAoB;IACxB;IACA;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