1 line
33 KiB
Plaintext
1 line
33 KiB
Plaintext
|
{"version":3,"sources":["../../../src/server/dev/hot-reloader-webpack.ts"],"names":["renderScriptError","matchNextPageBundleRequest","HotReloader","MILLISECONDS_IN_NANOSECOND","diff","a","b","Set","filter","v","has","wsServer","ws","Server","noServer","res","error","verbose","setHeader","code","finished","undefined","console","stack","statusCode","end","addCorsSupport","req","url","startsWith","preflight","headers","origin","method","writeHead","getPathMatch","findEntryModule","module","compilation","issuer","moduleGraph","getIssuer","erroredPages","failedPages","errors","entryModule","name","enhancedName","getRouteFromEntrypoint","push","constructor","dir","config","pagesDir","distDir","buildId","previewProps","rewrites","appDir","telemetry","clientError","serverError","hmrServerError","pagesMapping","versionInfo","staleness","installed","reloadAfterInvalidation","hasAmpEntrypoints","hasAppRouterEntrypoints","hasPagesRouterEntrypoints","interceptors","clientStats","serverStats","edgeServerStats","serverPrevDocumentHash","hotReloaderSpan","trace","version","process","env","__NEXT_VERSION","stop","run","parsedUrl","handlePageBundleRequest","pageBundleRes","parsedPageBundleUrl","pathname","params","decodedPagePath","path","map","param","decodeURIComponent","join","_","DecodeError","page","denormalizePagePath","BLOCKED_PAGES","indexOf","ensurePage","clientOnly","getProperError","getCompilationErrors","length","fn","Promise","resolve","reject","err","setHmrServerError","clearHmrServerError","send","action","HMR_ACTIONS_SENT_TO_BROWSER","RELOAD_PAGE","refreshServerComponents","SERVER_COMPONENT_CHANGES","onHMR","_socket","head","handleUpgrade","socket","client","webpackHotMiddleware","onDemandEntries","addEventListener","data","toString","payload","JSON","parse","traceChild","event","Span","spanName","startTime","BigInt","Math","floor","attrs","attributes","endTime","updatedModules","m","replace","isPageHidden","errorCount","warningCount","stackTrace","hadRuntimeError","Log","warn","fileMessage","file","exec","WEBPACK_LAYERS","appPagesBrowser","fileUrl","URL","cwd","modules","searchParams","getAll","filepath","slice","manualTraceChild","hrtime","bigint","clientId","id","clean","span","traceAsyncFn","recursiveDelete","getVersionInfo","enabled","versionInfoSpan","require","registry","getRegistry","fetch","ok","tags","json","parseVersionInfo","latest","canary","getWebpackConfig","webpackConfigSpan","pageExtensions","pagePaths","all","findPageFile","traceFn","createPagesMapping","isDev","pagesType","i","entrypoints","createEntrypoints","envFiles","pages","previewMode","rootDir","commonWebpackOptions","dev","originalRewrites","_originalRewrites","originalRedirects","_originalRedirects","runWebpackSpan","info","loadProjectInfo","getBaseWebpackConfig","compilerType","COMPILER_NAMES","server","edgeServer","buildFallbackError","fallbackWatcher","fallbackConfig","beforeFiles","afterFiles","fallback","isDevFallback","fallbackCompiler","webpack","bootedFallbackCompiler","watch","watchOptions","_err","start","startSpan","testMode","NEXT_TEST_MODE","__NEXT_TEST_MODE","isEnabled","fs","mkdir","recursive","distPackageJsonPath","writeFile","activeWebpackConfigs","defaultEntry","entry","args","outputPath","multiCompiler","entries","getEntries","isClientCompilation","isNodeServerCompilation","isEdgeServerCompilation","Object","keys","entryKey","entryData","bundlePath","dispose","result","key","isEntry","type","EntryTypes","ENTRY","isChildEntry","CHILD_ENTRY","pageExists","existsSync","absolutePagePath","absoluteEntryFilePath","hasAppDir","isAppPath","staticInfo","getStaticInfoIncludingLayouts","isInsideAppDir","pageFilePath","amp","isServerComponent","rsc","RSC_MODULE_TYPES","pageType","runDependingOnPageType","pageRuntime","runtime","onEdgeServer","appDirLoader","getAppEntry","appPaths","pagePath","posix","APP_DIR_ALIAS","relative","tsconfigPath","typescript","basePath","assetPrefix","nextConfigOutput","output","preferredRegion","middlewareConfig","Buffer","from","stringify","middleware","import","status","BUILDING","finalizeEntrypoint","value
|