MCPcopy
hub / github.com/vercel/next.js / constructor

Method constructor

test/lib/next-modes/next-start.ts:18–25  ·  view source on GitHub ↗
(opts: NextInstanceOpts)

Source from the content-addressed store, hash-verified

16 private _prerenderFinishedTimeMS: number | null = null
17
18 constructor(opts: NextInstanceOpts) {
19 super(opts)
20
21 if (!opts.disableAutoSkewProtection && shouldUseTurbopack()) {
22 this.env.NEXT_DEPLOYMENT_ID = 'test-dpl-id-1234'
23 this.env.__NEXT_IMMUTABLE_ASSET_TOKEN = 'test-immutable-tkn-7890'
24 }
25 }
26
27 public get buildId() {
28 return this._buildId

Callers

nothing calls this directly

Calls 1

shouldUseTurbopackFunction · 0.85

Tested by

no test coverage detected