/opt/canhelp/node_modules/next/dist/server/dev
NameSizeModeActions
browser-logs/-0755rm
dev-indicator-server-state.d.ts1480644editdlrm
dev-indicator-server-state.js3480644editdlrm
dev-indicator-server-state.js.map3800644editdlrm
get-source-map-from-file.d.ts1680644editdlrm
get-source-map-from-file.js34800644editdlrm
get-source-map-from-file.js.map42720644editdlrm
hot-middleware.d.ts18900644editdlrm
hot-middleware.js98410644editdlrm
hot-middleware.js.map147700644editdlrm
hot-reloader-turbopack.d.ts3670644editdlrm
hot-reloader-turbopack.js461030644editdlrm
hot-reloader-turbopack.js.map659160644editdlrm
hot-reloader-types.d.ts57210644editdlrm
hot-reloader-types.js15990644editdlrm
hot-reloader-types.js.map59160644editdlrm
hot-reloader-webpack.d.ts39370644editdlrm
hot-reloader-webpack.js680310644editdlrm
hot-reloader-webpack.js.map984230644editdlrm
log-requests.d.ts6370644editdlrm
log-requests.js49270644editdlrm
log-requests.js.map85610644editdlrm
messages.d.ts1200644editdlrm
messages.js3850644editdlrm
messages.js.map3080644editdlrm
middleware-turbopack.d.ts9290644editdlrm
middleware-turbopack.js166010644editdlrm
middleware-turbopack.js.map255300644editdlrm
middleware-webpack.d.ts23310644editdlrm
middleware-webpack.js205070644editdlrm
middleware-webpack.js.map330500644editdlrm
next-dev-server.d.ts59900644editdlrm
next-dev-server.js360410644editdlrm
next-dev-server.js.map574500644editdlrm
node-stack-frames.d.ts1540644editdlrm
node-stack-frames.js23270644editdlrm
node-stack-frames.js.map36040644editdlrm
on-demand-entry-handler.d.ts49640644editdlrm
on-demand-entry-handler.js310950644editdlrm
on-demand-entry-handler.js.map501480644editdlrm
parse-version-info.d.ts3290644editdlrm
parse-version-info.js36560644editdlrm
parse-version-info.js.map33670644editdlrm
require-cache.d.ts610644editdlrm
require-cache.js15670644editdlrm
require-cache.js.map20650644editdlrm
static-paths-worker.d.ts16940644editdlrm
static-paths-worker.js37520644editdlrm
static-paths-worker.js.map68640644editdlrm
turbopack-utils.d.ts56570644editdlrm
turbopack-utils.js314720644editdlrm
turbopack-utils.js.map475090644editdlrm
Edit: /opt/canhelp/node_modules/next/dist/server/dev/static-paths-worker.js.map (6864B)
{"version":3,"sources":["../../../src/server/dev/static-paths-worker.ts"],"sourcesContent":["import type { NextConfigComplete } from '../config-shared'\n\nimport '../require-hook'\nimport '../node-environment'\n\nimport { reduceAppConfig } from '../../build/utils'\nimport { collectSegments } from '../../build/segment-config/app/app-segments'\nimport type { StaticPathsResult } from '../../build/static-paths/types'\nimport { loadComponents } from '../load-components'\nimport { setHttpClientAndAgentOptions } from '../setup-http-agent-env'\nimport type { IncrementalCache } from '../lib/incremental-cache'\nimport { isAppPageRouteModule } from '../route-modules/checks'\nimport {\n checkIsRoutePPREnabled,\n type ExperimentalPPRConfig,\n} from '../lib/experimental/ppr'\nimport { InvariantError } from '../../shared/lib/invariant-error'\nimport { collectRootParamKeys } from '../../build/segment-config/app/collect-root-param-keys'\nimport { buildAppStaticPaths } from '../../build/static-paths/app'\nimport { buildPagesStaticPaths } from '../../build/static-paths/pages'\nimport { createIncrementalCache } from '../../export/helpers/create-incremental-cache'\n\ntype RuntimeConfig = {\n pprConfig: ExperimentalPPRConfig | undefined\n configFileName: string\n publicRuntimeConfig: { [key: string]: any }\n serverRuntimeConfig: { [key: string]: any }\n cacheComponents: boolean\n}\n\n// we call getStaticPaths in a separate process to ensure\n// side-effects aren't relied on in dev that will break\n// during a production build\nexport async function loadStaticPaths({\n dir,\n distDir,\n pathname,\n config,\n httpAgentOptions,\n locales,\n defaultLocale,\n isAppPath,\n page,\n isrFlushToDisk,\n fetchCacheKeyPrefix,\n maxMemoryCacheSize,\n requestHeaders,\n cacheHandler,\n cacheHandlers,\n cacheLifeProfiles,\n nextConfigOutput,\n buildId,\n authInterrupts,\n sriEnabled,\n}: {\n dir: string\n distDir: string\n pathname: string\n config: RuntimeConfig\n httpAgentOptions: NextConfigComplete['httpAgentOptions']\n locales?: readonly string[]\n defaultLocale?: string\n isAppPath: boolean\n page: string\n isrFlushToDisk?: boolean\n fetchCacheKeyPrefix?: string\n maxMemoryCacheSize?: number\n requestHeaders: IncrementalCache['requestHeaders']\n cacheHandler?: string\n cacheHandlers?: NextConfigComplete['experimental']['cacheHandlers']\n cacheLifeProfiles?: {\n [profile: string]: import('../../server/use-cache/cache-life').CacheLife\n }\n nextConfigOutput: 'standalone' | 'export' | undefined\n buildId: string\n authInterrupts: boolean\n sriEnabled: boolean\n}): Promise {\n // this needs to be initialized before loadComponents otherwise\n // \"use cache\" could be missing it's cache handlers\n await createIncrementalCache({\n dir,\n distDir,\n cacheHandler,\n cacheHandlers,\n requestHeaders,\n fetchCacheKeyPrefix,\n flushToDisk: isrFlushToDisk,\n cacheMaxMemorySize: maxMemoryCacheSize,\n })\n\n // update work memory runtime-config\n ;(\n require('../../shared/lib/runtime-config.external') as typeof import('../../shared/lib/runtime-config.external')\n ).setConfig(config)\n setHttpClientAndAgentOptions({\n httpAgentOptions,\n })\n\n const components = await loadComponents({\n distDir,\n // In `pages/`, the page is the same as the pathname.\n page: page || pathname,\n isAppPath,\n isDev: true,\n sriEnabled,\n })\n\n if (isAppPath) {\n const segments = await collectSegments(components)\n\n const isRoutePPREnabled =\n isAppPageRouteModule(components.routeModule) &&\n checkIsRoutePPREnabled(config.pprConfig, reduceAppConfig(segments))\n\n const rootParamKeys = collectRootParamKeys(components)\n\n return buildAppStaticPaths({\n dir,\n page: pathname,\n cacheComponents: config.cacheComponents,\n segments,\n distDir,\n requestHeaders,\n cacheHandler,\n cacheLifeProfiles,\n isrFlushToDisk,\n fetchCacheKeyPrefix,\n maxMemoryCacheSize,\n ComponentMod: components.ComponentMod,\n nextConfigOutput,\n isRoutePPREnabled,\n buildId,\n authInterrupts,\n rootParamKeys,\n })\n } else if (!components.getStaticPaths) {\n // We shouldn't get to this point since the worker should only be called for\n // SSG pages with getStaticPaths.\n throw new InvariantError(\n `Failed to load page with getStaticPaths for ${pathname}`\n )\n }\n\n return buildPagesStaticPaths({\n page: pathname,\n getStaticPaths: components.getStaticPaths,\n configFileName: config.configFileName,\n locales,\n defaultLocale,\n })\n}\n"],"names":["loadStaticPaths","dir","distDir","pathname","config","httpAgentOptions","locales","defaultLocale","isAppPath","page","isrFlushToDisk","fetchCacheKeyPrefix","maxMemoryCacheSize","requestHeaders","cacheHandler","cacheHandlers","cacheLifeProfiles","nextConfigOutput","buildId","authInterrupts","sriEnabled","createIncrementalCache","flushToDisk","cacheMaxMemorySize","require","setConfig","setHttpClientAndAgentOptions","components","loadComponents","isDev","segments","collectSegments","isRoutePPREnabled","isAppPageRouteModule","routeModule","checkIsRoutePPREnabled","pprConfig","reduceAppConfig","rootParamKeys","collectRootParamKeys","buildAppStaticPaths","cacheComponents","ComponentMod","getStaticPaths","InvariantError","buildPagesStaticPaths","configFileName"],"mappings":";;;;+BAiCsBA;;;eAAAA;;;QA/Bf;QACA;uBAEyB;6BACA;gCAED;mCACc;wBAER;qBAI9B;gCACwB;sCACM;qBACD;uBACE;wCACC;AAahC,eAAeA,gBAAgB,EACpCC,GAAG,EACHC,OAAO,EACPC,QAAQ,EACRC,MAAM,EACNC,gBAAgB,EAChBC,OAAO,EACPC,aAAa,EACbC,SAAS,EACTC,IAAI,EACJC,cAAc,EACdC,mBAAmB,EACnBC,kBAAkB,EAClBC,cAAc,EACdC,YAAY,EACZC,aAAa,EACbC,iBAAiB,EACjBC,gBAAgB,EAChBC,OAAO,EACPC,cAAc,EACdC,UAAU,EAwBX;IACC,+DAA+D;IAC/D,mDAAmD;IACnD,MAAMC,IAAAA,8CAAsB,EAAC;QAC3BpB;QACAC;QACAY;QACAC;QACAF;QACAF;QACAW,aAAaZ;QACba,oBAAoBX;IACtB;IAIEY,QAAQ,4CACRC,SAAS,CAACrB;IACZsB,IAAAA,+CAA4B,EAAC;QAC3BrB;IACF;IAEA,MAAMsB,aAAa,MAAMC,IAAAA,8BAAc,EAAC;QACtC1B;QACA,qDAAqD;QACrDO,MAAMA,QAAQN;QACdK;QACAqB,OAAO;QACPT;IACF;IAEA,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