securityos/node_modules/next/dist/build/webpack/plugins/build-manifest-plugin.js.map

1 line
7.0 KiB
Plaintext

{"version":3,"sources":["../../../../src/build/webpack/plugins/build-manifest-plugin.ts"],"names":["srcEmptySsgManifest","normalizeRewritesForBuildManifest","getEntrypointFiles","BuildManifestPlugin","normalizeRewrite","item","has","source","destination","rewrites","afterFiles","map","beforeFiles","fallback","generateClientManifest","compiler","compilation","assetMap","compilationSpan","spans","get","genClientManifestSpan","traceChild","traceFn","clientManifest","__rewrites","appDependencies","Set","pages","sortedPageKeys","getSortedRoutes","Object","keys","forEach","page","dependencies","filteredDeps","filter","dep","length","sortedPages","devalue","entrypoint","getFiles","file","test","replace","processRoute","r","rewrite","startsWith","constructor","options","buildId","isDevFallback","appDirEnabled","exportRuntime","createAssets","assets","createAssetsSpan","entrypoints","polyfillFiles","devFiles","ampDevFiles","lowPriorityFiles","rootMainFiles","ampFirstPages","ampFirstEntryNames","ampFirstEntryNamesMap","entryName","pagePath","getRouteFromEntrypoint","push","mainFiles","CLIENT_STATIC_FILES_RUNTIME_MAIN","CLIENT_STATIC_FILES_RUNTIME_MAIN_APP","compilationAssets","getAssets","p","name","endsWith","info","CLIENT_STATIC_FILES_RUNTIME_POLYFILLS_SYMBOL","v","CLIENT_STATIC_FILES_RUNTIME_REACT_REFRESH","CLIENT_STATIC_FILES_RUNTIME_AMP","values","SYSTEM_ENTRYPOINTS","filesForPage","CLIENT_STATIC_FILES_PATH","ssgManifestPath","sources","RawSource","sort","reduce","a","c","buildManifestName","BUILD_MANIFEST","JSON","stringify","MIDDLEWARE_BUILD_MANIFEST","clientManifestPath","apply","hooks","make","tap","processAssets","stage","webpack","Compilation","PROCESS_ASSETS_STAGE_ADDITIONS"],"mappings":";;;;;;;;;;;;;;;;;IA6BaA,mBAAmB;eAAnBA;;IAcGC,iCAAiC;eAAjCA;;IAqDAC,kBAAkB;eAAlBA;;IAuBhB,iFAAiF;IACjF,+GAA+G;IAC/G,OAiLC;eAjLoBC;;;gEAxHD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