PHP 7.4.33
Preview: next-start.js.map Size: 1.69 KB
/var/www/uibuilder.cmshelp.dk/httpdocs/node_modules/next/dist/cli/next-start.js.map
{"version":3,"sources":["../../src/cli/next-start.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport '../server/lib/cpu-profile'\nimport { startServer } from '../server/lib/start-server'\nimport { printAndExit } from '../server/lib/utils'\nimport { getProjectDir } from '../lib/get-project-dir'\nimport {\n  getReservedPortExplanation,\n  isPortIsReserved,\n} from '../lib/helpers/get-reserved-port'\n\nexport type NextStartOptions = {\n  port: number\n  hostname?: string\n  keepAliveTimeout?: number\n}\n\n/**\n * Start the Next.js server\n *\n * @param options The options for the start command\n * @param directory The directory to start the server in\n */\nconst nextStart = async (options: NextStartOptions, directory?: string) => {\n  const dir = getProjectDir(directory)\n  const hostname = options.hostname\n  const port = options.port\n  const keepAliveTimeout = options.keepAliveTimeout\n\n  if (isPortIsReserved(port)) {\n    printAndExit(getReservedPortExplanation(port), 1)\n  }\n\n  await startServer({\n    dir,\n    isDev: false,\n    hostname,\n    port,\n    keepAliveTimeout,\n  })\n}\n\nexport { nextStart }\n"],"names":["nextStart","options","directory","dir","getProjectDir","hostname","port","keepAliveTimeout","isPortIsReserved","printAndExit","getReservedPortExplanation","startServer","isDev"],"mappings":";;;;;+BA0CSA;;;eAAAA;;;QAxCF;6BACqB;uBACC;+BACC;iCAIvB;AAQP;;;;;CAKC,GACD,MAAMA,YAAY,OAAOC,SAA2BC;IAClD,MAAMC,MAAMC,IAAAA,4BAAa,EAACF;IAC1B,MAAMG,WAAWJ,QAAQI,QAAQ;IACjC,MAAMC,OAAOL,QAAQK,IAAI;IACzB,MAAMC,mBAAmBN,QAAQM,gBAAgB;IAEjD,IAAIC,IAAAA,iCAAgB,EAACF,OAAO;QAC1BG,IAAAA,mBAAY,EAACC,IAAAA,2CAA0B,EAACJ,OAAO;IACjD;IAEA,MAAMK,IAAAA,wBAAW,EAAC;QAChBR;QACAS,OAAO;QACPP;QACAC;QACAC;IACF;AACF"}

Directory Contents

Dirs: 1 × Files: 24
Name Size Perms Modified Actions
internal DIR
- drwxr-xr-x 2025-03-28 11:04:45
Edit Download
503 B lrw-r--r-- 2025-03-28 11:04:45
Edit Download
3.06 KB lrw-r--r-- 2025-03-28 11:04:41
Edit Download
5.13 KB lrw-r--r-- 2025-03-28 11:04:44
Edit Download
561 B lrw-r--r-- 2025-03-28 11:04:45
Edit Download
14.35 KB lrw-r--r-- 2025-03-28 11:04:41
Edit Download
20.52 KB lrw-r--r-- 2025-03-28 11:04:44
Edit Download
62 B lrw-r--r-- 2025-03-28 11:04:45
Edit Download
626 B lrw-r--r-- 2025-03-28 11:04:41
Edit Download
687 B lrw-r--r-- 2025-03-28 11:04:44
Edit Download
487 B lrw-r--r-- 2025-03-28 11:04:45
Edit Download
19.73 KB lrw-r--r-- 2025-03-28 11:04:41
Edit Download
27.81 KB lrw-r--r-- 2025-03-28 11:04:44
Edit Download
719 B lrw-r--r-- 2025-03-28 11:04:45
Edit Download
5.36 KB lrw-r--r-- 2025-03-28 11:04:41
Edit Download
8.87 KB lrw-r--r-- 2025-03-28 11:04:44
Edit Download
425 B lrw-r--r-- 2025-03-28 11:04:45
Edit Download
1.19 KB lrw-r--r-- 2025-03-28 11:04:41
Edit Download
1.69 KB lrw-r--r-- 2025-03-28 11:04:44
Edit Download
214 B lrw-r--r-- 2025-03-28 11:04:45
Edit Download
1.66 KB lrw-r--r-- 2025-03-28 11:04:41
Edit Download
2.58 KB lrw-r--r-- 2025-03-28 11:04:44
Edit Download
344 B lrw-r--r-- 2025-03-28 11:04:45
Edit Download
7.96 KB lrw-r--r-- 2025-03-28 11:04:41
Edit Download
11.01 KB lrw-r--r-- 2025-03-28 11:04:44
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).