/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 (3752B)
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "loadStaticPaths", { enumerable: true, get: function() { return loadStaticPaths; } }); require("../require-hook"); require("../node-environment"); const _utils = require("../../build/utils"); const _appsegments = require("../../build/segment-config/app/app-segments"); const _loadcomponents = require("../load-components"); const _setuphttpagentenv = require("../setup-http-agent-env"); const _checks = require("../route-modules/checks"); const _ppr = require("../lib/experimental/ppr"); const _invarianterror = require("../../shared/lib/invariant-error"); const _collectrootparamkeys = require("../../build/segment-config/app/collect-root-param-keys"); const _app = require("../../build/static-paths/app"); const _pages = require("../../build/static-paths/pages"); const _createincrementalcache = require("../../export/helpers/create-incremental-cache"); async function loadStaticPaths({ dir, distDir, pathname, config, httpAgentOptions, locales, defaultLocale, isAppPath, page, isrFlushToDisk, fetchCacheKeyPrefix, maxMemoryCacheSize, requestHeaders, cacheHandler, cacheHandlers, cacheLifeProfiles, nextConfigOutput, buildId, authInterrupts, sriEnabled }) { // this needs to be initialized before loadComponents otherwise // "use cache" could be missing it's cache handlers await (0, _createincrementalcache.createIncrementalCache)({ dir, distDir, cacheHandler, cacheHandlers, requestHeaders, fetchCacheKeyPrefix, flushToDisk: isrFlushToDisk, cacheMaxMemorySize: maxMemoryCacheSize }); require('../../shared/lib/runtime-config.external').setConfig(config); (0, _setuphttpagentenv.setHttpClientAndAgentOptions)({ httpAgentOptions }); const components = await (0, _loadcomponents.loadComponents)({ distDir, // In `pages/`, the page is the same as the pathname. page: page || pathname, isAppPath, isDev: true, sriEnabled }); if (isAppPath) { const segments = await (0, _appsegments.collectSegments)(components); const isRoutePPREnabled = (0, _checks.isAppPageRouteModule)(components.routeModule) && (0, _ppr.checkIsRoutePPREnabled)(config.pprConfig, (0, _utils.reduceAppConfig)(segments)); const rootParamKeys = (0, _collectrootparamkeys.collectRootParamKeys)(components); return (0, _app.buildAppStaticPaths)({ dir, page: pathname, cacheComponents: config.cacheComponents, segments, distDir, requestHeaders, cacheHandler, cacheLifeProfiles, isrFlushToDisk, fetchCacheKeyPrefix, maxMemoryCacheSize, ComponentMod: components.ComponentMod, nextConfigOutput, isRoutePPREnabled, buildId, authInterrupts, rootParamKeys }); } else if (!components.getStaticPaths) { // We shouldn't get to this point since the worker should only be called for // SSG pages with getStaticPaths. throw Object.defineProperty(new _invarianterror.InvariantError(`Failed to load page with getStaticPaths for ${pathname}`), "__NEXT_ERROR_CODE", { value: "E605", enumerable: false, configurable: true }); } return (0, _pages.buildPagesStaticPaths)({ page: pathname, getStaticPaths: components.getStaticPaths, configFileName: config.configFileName, locales, defaultLocale }); } //# sourceMappingURL=static-paths-worker.js.map