diff --git a/packages/next/build/analysis/get-page-static-info.ts b/packages/next/build/analysis/get-page-static-info.ts index 80938f19e630..9805c164975a 100644 --- a/packages/next/build/analysis/get-page-static-info.ts +++ b/packages/next/build/analysis/get-page-static-info.ts @@ -9,7 +9,6 @@ import { promises as fs } from 'fs' import { tryToParsePath } from '../../lib/try-to-parse-path' import * as Log from '../output/log' import { SERVER_RUNTIME } from '../../lib/constants' -import { ServerRuntime } from '../../types' export interface MiddlewareConfig { pathMatcher: RegExp // only relevant to middleware, not to edge APIs @@ -17,7 +16,7 @@ export interface MiddlewareConfig { } export interface PageStaticInfo { - runtime?: ServerRuntime + runtime?: 'nodejs' | 'experimental-edge' | undefined ssg?: boolean ssr?: boolean middleware?: Partial