1 line
14 KiB
Plaintext
1 line
14 KiB
Plaintext
|
{"version":3,"sources":["../../src/build/collect-build-traces.ts"],"names":["collectBuildTraces","debug","debugOriginal","dir","config","distDir","pageKeys","pageInfos","staticPages","nextBuildSpan","Span","name","hasSsrAmpPages","buildTraceContext","outputFileTracingRoot","startTime","Date","now","turboTasksForTrace","bindings","loadBindings","runTurbotrace","experimental","turbotrace","isWasm","turbo","startTrace","turbotraceOutputPath","turbotraceFiles","createTurboTasks","memoryLimit","TURBO_TRACE_DEFAULT_MEMORY_LIMIT","entriesTrace","chunksTrace","appDir","buildTraceContextAppDir","depModArray","entryNameMap","outputPath","action","depModSet","Set","filesTracedInEntries","contextDirectory","input","entriesToTrace","filesTracedFromEntries","map","f","path","join","filter","includes","startsWith","has","length","entryName","Array","from","Object","entries","k","traceOutputPath","traceOutputDir","dirname","file","relative","outputPagesPath","substring","existedNftFile","fs","readFile","then","existedContent","JSON","parse","catch","version","TRACE_OUTPUT_VERSION","files","push","filesSet","writeFile","stringify","outputFileTracingIncludes","outputFileTracingExcludes","excludeGlobKeys","keys","traceChild","traceAsyncFn","nextServerTraceOutput","nextMinimalTraceOutput","root","isStandalone","output","nextServerEntry","require","resolve","sharedEntriesSet","defaultOverrides","value","paths","incrementalCacheHandlerPath","isAbsolute","serverEntries","Boolean","minimalServerEntries","additionalIgnores","glob","isMatch","forEach","exclude","add","serverIgnores","ciEnvironment","hasNextSupport","TRACE_IGNORES","outputFileTracingIgnores","nonNullable","serverIgnoreFn","pathname","contains","dot","traceContext","serverTracedFiles","minimalServerTracedFiles","addToTracedFiles","base","dest","replace","makeTrace","logLevel","processCwd","logDetail","showAll","logAll","vanillaFiles","minimalFiles","set","chunksToTrace","result","nodeFileTrace","mixedModules","p","e","isError","code","match","readlink","stat","reasons","fileList","esmFileList","parentFilesMap","getFilesMapFromReasons","tracedFiles","curFiles","get","curFile","filePath","entryNameFilesMap","Promise","all","Map","entryNameFiles","isApp","isPages","route","normalizeAppPath","normalizePagePath","entryOutputPath","existingTrace","curTracedFiles","sort","moduleTypes","type","modulePath","relativeModulePath","contextDir","item","readdir","itemPath","includeExcludeSpan","resolvedTraceIncludes","includeGlobKeys","globOrig","pattern","reject","cwd","nodir","err","page","pages","pageInfo","find","runtime","combinedIncludes","combinedExcludes","curGlob","include","size","traceFile","pageDir","traceContent","includeGlob","results","resolvedInclude","combined","resolvedGlobs","delete"],"mappings":";;;;+BA8BsBA;;;eAAAA;;;uBA9BD;4CAOd;2BAKA;6DAEU;iEACF;qBAEc;6BACD;gEACG;8DACL;4BACF;6BACS;qBACH;mCACI;0BACD;gEACb;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEpB,MAAMC,QAAQC,IAAAA,cAAa,EAAC;AAErB,eAAeF,mBAAmB,EACvCG,GAAG,EACHC,MAAM,EACNC,OAAO,EACPC,QAAQ,EACRC,SAAS,EACTC,WAAW,EACXC,gBAAgB,IAAIC,WAAI,CAAC;IAAEC,MAAM;AAAQ,EAAE,EAC3CC,cAAc,EACdC,iBAAiB,EACjBC,qBAAqB,EAetB;IACC,MAAMC,YAAYC,KAAKC,GAAG;IAC1BhB,MAAM;IACN,IAAIiB;IACJ,IAAIC,WAAW,MAAMC,IAAAA,iBAAY;IAEjC,MAAMC,gBAAgB;QACpB,IAAI,CAACjB,OAAOkB,YAAY,CAACC,UAAU,IAAI,CAACV,mBAAmB;YACzD;QACF;QACA,IAAI,EAACM,4BAAAA,SAAUK,MAAM,KAAI,OAAOL,SAASM,KAAK,CAACC,UAAU,KAAK,YAAY;gBAIrEtB;YAHH,IAAIuB;YACJ,IAAIC;YACJV,qBAAqBC,SAASM,KAAK,CAACI,gBAAgB,CAClD,AAACzB,CAAAA,EAAAA,kCAAAA,OAAOkB,YAAY,CAACC,UAAU,qBAA9BnB,gCAAgC0B,WAAW,KAC1CC,2CAAgC,AAAD,IAC/B,OACA;YAGJ,MAAM,EAAEC,YAAY,EAAEC,WAAW,EAAE,GAAGpB;YACtC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