1 line
17 KiB
Plaintext
1 line
17 KiB
Plaintext
|
{"version":3,"sources":["../../../../src/build/webpack/plugins/next-trace-entrypoints-plugin.ts"],"names":["TRACE_IGNORES","getFilesMapFromReasons","TraceEntryPointsPlugin","PLUGIN_NAME","NOT_TRACEABLE","getModuleFromDependency","compilation","dep","moduleGraph","getModule","fileList","reasons","ignoreFn","parentFilesMap","Map","propagateToParents","parents","file","seen","Set","parent","has","add","parentFiles","get","set","parentReason","reason","isInitial","type","length","includes","size","constructor","rootDir","appDir","pagesDir","appDirEnabled","traceIgnores","esmExternals","outputFileTracingRoot","turbotrace","buildTraceContext","entryTraces","tracingRoot","createTraceAssets","assets","span","outputPath","outputOptions","path","traceChild","traceAsyncFn","entryFilesMap","chunksToTrace","entryNameFilesMap","isTraceable","some","suffix","endsWith","entrypoint","entrypoints","values","entryFiles","chunk","getEntrypointChunk","getAllReferencedChunks","files","filePath","nodePath","join","auxiliaryFiles","name","chunksTrace","action","input","contextDirectory","processCwd","showAll","logAll","logLevel","Object","fromEntries","traceOutputName","traceOutputPath","dirname","delete","startsWith","clientManifestsForPage","replace","CLIENT_REFERENCE_MANIFEST","finalFiles","push","relative","sources","RawSource","JSON","stringify","version","TRACE_OUTPUT_VERSION","tapfinishModules","traceEntrypointsPluginSpan","doResolve","readlink","stat","hooks","finishModules","tapAsync","_stats","callback","finishModulesSpan","entryNameMap","entryModMap","additionalEntries","depModMap","traceFn","entries","forEach","entry","normalizedName","isPage","isApp","dependencies","entryMod","resource","moduleBuildInfo","getModuleBuildInfo","route","absolutePath","getPageFilePath","absolutePagePath","request","curMap","readFile","mod","source","originalSource","buffer","entryPaths","Array","from","keys","collectDependencies","depMod","entriesToTrace","entryName","curExtraEntries","chunks","entriesTrace","depModArray","binding","loadBindings","isWasm","turbo","startTrace","ignores","isMatch","contains","dot","traceEntryCount","result","nodeFileTrace","base","resolve","id","job","isCjs","undefined","ignore","mixedModules","esmFileList","isAsset","isArray","loaders","normalizedEntry","finalDeps","extraEntry","normalizedExtraEntry","then","err","apply","compiler","tap","Promise","reject","inputFileSystem","link","e","isError","code","stats","compilationSpan","spans","processAssets","stage","webpack","Compilation","PROCESS_ASSETS_STAGE_SUMMARIZE","catch","resolver","resolverFactory","getPkgName","segments","split","slice","getResolve","options","curResolver","withOptions","context","fileDependencies","missingDependencies","contextDependencies","resContext","Error","requestPath","isAbsolute","descriptionFileRoot","sep","rootSeparatorIndex","indexOf","separatorIndex","lastIndexOf","curPackageJsonPath","isFile","emitFile","realpath","_err","dependencyType","CJS_RESOLVE_OPTIONS","NODE_RESOLVE_OPTIONS","fullySpecified","modules","extensions","BASE_CJS_RESOLVE_OPTIONS","alias","ESM_RESOLVE_OPTIONS","NODE_ESM_RESOLVE_OPTIONS","BASE_ESM_RESOLVE_OPTIONS","isEsmRequested","res","resolveExternal","_","resRequest"],"mappings":";;;;;;;;;;;;;;;;IAuBaA,aAAa;eAAbA;;IAyBGC,sBAAsB;eAAtBA;;IAiFHC,sBAAsB;eAAtBA;;;6DAjIQ;iCAEC;gEACF;qBACU;2BAKvB;yBAC0B;+BAI1B;qBAEsB;4BACL;oCACW;yBACH;iCACA;;;;;;AAEhC,MAAMC,cAAc;AACb,MAAMH,gBAAgB;IAC3B;IACA;CACD;AAED,MAAMI,gBAAgB;IACpB;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;CACD;AAED,SAASC,wBACPC,WAAgB,EAChBC,GAAQ;IAER,OAAOD,YAAYE,WAAW,CAACC,SAAS,CAACF;AAC3C;AAEO,SAASN,uBACdS,QAAqB,EACrBC,OAA6B,EAC7BC,QAAqD;IAErD,4DAA4D;IAC5D,8DAA8D;IAC9D,aAAa;IACb,MAAMC,iBAAiB,IAAIC;IAE3B,SAASC,mBACPC,OAAoB,EACpBC,IAAY,EACZC,OAAO,IAAIC,KAAa;QAExB,KAAK,MAAMC,UAAUJ,WAAW,EAAE,CAAE;YAClC,IAAI,CAACE,KAAKG,GAAG,CAACD,SAAS;gBACrBF,KAAKI,GAAG,CAACF;gBACT,IAAIG,cAAcV,eAAeW,GAAG,CAACJ;gBAErC,IAAI,CAACG,aAAa;oBAChBA,cAAc,IAAIJ;oBAClBN,eAAeY,GAAG,CAACL,QAAQG;gBAC7B;gBAEA,IAAI,EAACX,4BAAAA,SAAWK,MAAMG,UAAS;oBAC7BG,YAAYD,GAAG,CAACL;gBAClB;gBACA,MAAMS,eAAef,QAAQa,
|