Skip to content

Commit 0de4183

Browse files
committed
fix lint
1 parent e03c4ff commit 0de4183

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

packages/next/src/build/index.ts

+12-12
Original file line numberDiff line numberDiff line change
@@ -1890,18 +1890,18 @@ export default async function build(
18901890
config.experimental.gzipSize
18911891
)
18921892

1893-
const middlewareManifest: MiddlewareManifest = require(
1894-
path.join(distDir, SERVER_DIRECTORY, MIDDLEWARE_MANIFEST)
1895-
)
1893+
const middlewareManifest: MiddlewareManifest = require(path.join(
1894+
distDir,
1895+
SERVER_DIRECTORY,
1896+
MIDDLEWARE_MANIFEST
1897+
))
18961898

18971899
const actionManifest = appDir
1898-
? (require(
1899-
path.join(
1900-
distDir,
1901-
SERVER_DIRECTORY,
1902-
SERVER_REFERENCE_MANIFEST + '.json'
1903-
)
1904-
) as ActionManifest)
1900+
? (require(path.join(
1901+
distDir,
1902+
SERVER_DIRECTORY,
1903+
SERVER_REFERENCE_MANIFEST + '.json'
1904+
)) as ActionManifest)
19051905
: null
19061906
const entriesWithAction = actionManifest ? new Set() : null
19071907
if (actionManifest && entriesWithAction) {
@@ -3287,8 +3287,8 @@ export default async function build(
32873287
fallback: ssgBlockingFallbackPages.has(tbdRoute)
32883288
? null
32893289
: ssgStaticFallbackPages.has(tbdRoute)
3290-
? `${normalizedRoute}.html`
3291-
: false,
3290+
? `${normalizedRoute}.html`
3291+
: false,
32923292
dataRouteRegex: normalizeRouteRegex(
32933293
getNamedRouteRegex(
32943294
dataRoute.replace(/\.json$/, ''),

packages/next/src/build/webpack/plugins/define-env-plugin.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,8 @@ export function getDefineEnv({
163163
'process.env.NEXT_RUNTIME': isEdgeServer
164164
? 'edge'
165165
: isNodeServer
166-
? 'nodejs'
167-
: '',
166+
? 'nodejs'
167+
: '',
168168
'process.env.NEXT_MINIMAL': '',
169169
'process.env.__NEXT_PPR': config.experimental.ppr === true,
170170
'process.env.NEXT_DEPLOYMENT_ID': config.deploymentId || false,

0 commit comments

Comments
 (0)