/opt/canhelp/node_modules/next/dist/cli
NameSizeModeActions
internal/-0755rm
next-build.d.ts5960644editdlrm
next-build.js34620644editdlrm
next-build.js.map59200644editdlrm
next-dev.d.ts5610644editdlrm
next-dev.js148480644editdlrm
next-dev.js.map213000644editdlrm
next-export.d.ts620644editdlrm
next-export.js6260644editdlrm
next-export.js.map7040644editdlrm
next-info.d.ts4870644editdlrm
next-info.js203160644editdlrm
next-info.js.map291910644editdlrm
next-lint.d.ts7190644editdlrm
next-lint.js58780644editdlrm
next-lint.js.map96720644editdlrm
next-start.d.ts4250644editdlrm
next-start.js12220644editdlrm
next-start.js.map17440644editdlrm
next-telemetry.d.ts2140644editdlrm
next-telemetry.js17000644editdlrm
next-telemetry.js.map26630644editdlrm
next-test.d.ts3440644editdlrm
next-test.js81560644editdlrm
next-test.js.map112960644editdlrm
next-typegen.d.ts1960644editdlrm
next-typegen.js69040644editdlrm
next-typegen.js.map90490644editdlrm
Edit: /opt/canhelp/node_modules/next/dist/cli/next-start.js.map (1744B)
{"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","ignoreList":[0]}