/home/techb158/balavpn.abdallabala.com/node_modules/next/dist/build
NameSizeModeActions
adapter/-0777rm
analysis/-0777rm
babel/-0777rm
jest/-0777rm
manifests/-0777rm
next-config-ts/-0777rm
output/-0777rm
polyfills/-0777rm
segment-config/-0777rm
static-paths/-0777rm
swc/-0777rm
templates/-0777rm
turbopack-build/-0777rm
turborepo-access-trace/-0777rm
webpack/-0777rm
webpack-build/-0777rm
webpack-config-rules/-0777rm
after-production-compile.d.ts4310666editdlrm
after-production-compile.js33390666editdlrm
after-production-compile.js.map31290666editdlrm
build-context.d.ts20570666editdlrm
build-context.js16030666editdlrm
build-context.js.map40420666editdlrm
collect-build-traces.d.ts7570666editdlrm
collect-build-traces.js242760666editdlrm
collect-build-traces.js.map355400666editdlrm
compiler.d.ts5430666editdlrm
compiler.js32620666editdlrm
compiler.js.map48020666editdlrm
create-compiler-aliases.d.ts13070666editdlrm
create-compiler-aliases.js270860666editdlrm
create-compiler-aliases.js.map399590666editdlrm
define-env.d.ts12590666editdlrm
define-env.js147490666editdlrm
define-env.js.map231420666editdlrm
deployment-id.d.ts690666editdlrm
deployment-id.js4660666editdlrm
deployment-id.js.map5230666editdlrm
duration-to-string.d.ts760666editdlrm
duration-to-string.js7580666editdlrm
duration-to-string.js.map11010666editdlrm
entries.d.ts82020666editdlrm
entries.js378860666editdlrm
entries.js.map620370666editdlrm
generate-build-id.d.ts1380666editdlrm
generate-build-id.js10060666editdlrm
generate-build-id.js.map12150666editdlrm
get-babel-config-file.d.ts770666editdlrm
get-babel-config-file.js8560666editdlrm
get-babel-config-file.js.map10980666editdlrm
get-babel-loader-config.d.ts17130666editdlrm
get-babel-loader-config.js35570666editdlrm
get-babel-loader-config.js.map48960666editdlrm
handle-entrypoints.d.ts4700666editdlrm
handle-entrypoints.js65600666editdlrm
handle-entrypoints.js.map71740666editdlrm
handle-externals.d.ts14150666editdlrm
handle-externals.js144260666editdlrm
handle-externals.js.map216040666editdlrm
index.d.ts93240666editdlrm
index.js1538270666editdlrm
index.js.map2263100666editdlrm
is-writeable.d.ts740666editdlrm
is-writeable.js6530666editdlrm
is-writeable.js.map6560666editdlrm
load-entrypoint.d.ts10090666editdlrm
load-entrypoint.js15200666editdlrm
load-entrypoint.js.map31070666editdlrm
load-jsconfig.d.ts5140666editdlrm
load-jsconfig.js56930666editdlrm
load-jsconfig.js.map65350666editdlrm
next-dir-paths.d.ts1610666editdlrm
next-dir-paths.js11200666editdlrm
next-dir-paths.js.map7350666editdlrm
normalize-catchall-routes.d.ts6090666editdlrm
normalize-catchall-routes.js40820666editdlrm
normalize-catchall-routes.js.map66120666editdlrm
page-extensions-type.d.ts390666editdlrm
page-extensions-type.js1300666editdlrm
page-extensions-type.js.map670666editdlrm
preview-key-utils.d.ts2060666editdlrm
preview-key-utils.js37110666editdlrm
preview-key-utils.js.map59200666editdlrm
progress.d.ts1200666editdlrm
progress.js47460666editdlrm
progress.js.map46250666editdlrm
rendering-mode.d.ts5060666editdlrm
rendering-mode.js8260666editdlrm
rendering-mode.js.map7210666editdlrm
spinner.d.ts2180666editdlrm
spinner.js46630666editdlrm
spinner.js.map49780666editdlrm
type-check.d.ts5700666editdlrm
type-check.js72260666editdlrm
type-check.js.map92270666editdlrm
utils.d.ts87460666editdlrm
utils.js604000666editdlrm
utils.js.map959230666editdlrm
webpack-config.d.ts47890666editdlrm
webpack-config.js1137040666editdlrm
webpack-config.js.map1582530666editdlrm
worker.d.ts1720666editdlrm
worker.js8900666editdlrm
worker.js.map5230666editdlrm
write-build-id.d.ts870666editdlrm
write-build-id.js5590666editdlrm
write-build-id.js.map7180666editdlrm
Edit: /home/techb158/balavpn.abdallabala.com/node_modules/next/dist/build/load-entrypoint.js.map (3107B)
{"version":3,"sources":["../../src/build/load-entrypoint.ts"],"sourcesContent":["import fs from 'fs/promises'\nimport path from 'path'\nimport { loadBindings } from './swc'\n\n// NOTE: this should be updated if this loader file is moved.\nconst PACKAGE_ROOT = path.normalize(path.join(__dirname, '../..'))\nconst TEMPLATE_SRC_FOLDER = path.normalize(path.join(__dirname, './templates'))\nconst TEMPLATES_ESM_FOLDER = path.normalize(\n path.join(__dirname, '../../dist/esm/build/templates')\n)\n\n/**\n * Load the entrypoint file from the ESM directory and performs string\n * replacements of the template variables specified in the `replacements`\n * argument.\n *\n * For non-string replacements, the template should use the\n * `declare const ${key}: ${type}` syntax. to ensure that the type is correct\n * and the typescript can compile. You may have to use `@ts-expect-error` to\n * handle replacement values that are related to imports.\n *\n * @param entrypoint the entrypoint to load\n * @param replacements string replacements to perform\n * @param injections code injections to perform\n * @param imports optional imports to insert or set to null\n * @returns the loaded file with the replacements\n */\nexport async function loadEntrypoint(\n entrypoint:\n | 'app-page'\n | 'app-route'\n | 'edge-app-route'\n | 'edge-ssr'\n | 'edge-ssr-app'\n | 'middleware'\n | 'pages'\n | 'pages-api',\n replacements: Record<`VAR_${string}`, string>,\n injections?: Record,\n imports?: Record\n): Promise {\n let bindings = await loadBindings()\n\n const templatePath = path.resolve(\n path.join(TEMPLATES_ESM_FOLDER, `${entrypoint}.js`)\n )\n let content = await fs.readFile(templatePath)\n\n return bindings.expandNextJsTemplate(\n content,\n // Ensure that we use unix-style path separators for the import paths\n path.join(TEMPLATE_SRC_FOLDER, `${entrypoint}.js`).replace(/\\\\/g, '/'),\n PACKAGE_ROOT.replace(/\\\\/g, '/'),\n replacements,\n injections ?? {},\n imports ?? {}\n )\n}\n"],"names":["loadEntrypoint","PACKAGE_ROOT","path","normalize","join","__dirname","TEMPLATE_SRC_FOLDER","TEMPLATES_ESM_FOLDER","entrypoint","replacements","injections","imports","bindings","loadBindings","templatePath","resolve","content","fs","readFile","expandNextJsTemplate","replace"],"mappings":";;;;+BA2BsBA;;;eAAAA;;;iEA3BP;6DACE;qBACY;;;;;;AAE7B,6DAA6D;AAC7D,MAAMC,eAAeC,aAAI,CAACC,SAAS,CAACD,aAAI,CAACE,IAAI,CAACC,WAAW;AACzD,MAAMC,sBAAsBJ,aAAI,CAACC,SAAS,CAACD,aAAI,CAACE,IAAI,CAACC,WAAW;AAChE,MAAME,uBAAuBL,aAAI,CAACC,SAAS,CACzCD,aAAI,CAACE,IAAI,CAACC,WAAW;AAmBhB,eAAeL,eACpBQ,UAQe,EACfC,YAA6C,EAC7CC,UAAmC,EACnCC,OAAuC;IAEvC,IAAIC,WAAW,MAAMC,IAAAA,iBAAY;IAEjC,MAAMC,eAAeZ,aAAI,CAACa,OAAO,CAC/Bb,aAAI,CAACE,IAAI,CAACG,sBAAsB,GAAGC,WAAW,GAAG,CAAC;IAEpD,IAAIQ,UAAU,MAAMC,iBAAE,CAACC,QAAQ,CAACJ;IAEhC,OAAOF,SAASO,oBAAoB,CAClCH,SACA,qEAAqE;IACrEd,aAAI,CAACE,IAAI,CAACE,qBAAqB,GAAGE,WAAW,GAAG,CAAC,EAAEY,OAAO,CAAC,OAAO,MAClEnB,aAAamB,OAAO,CAAC,OAAO,MAC5BX,cACAC,cAAc,CAAC,GACfC,WAAW,CAAC;AAEhB","ignoreList":[0]}