File tree 2 files changed +14
-14
lines changed
2 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -1890,18 +1890,18 @@ export default async function build(
1890
1890
config . experimental . gzipSize
1891
1891
)
1892
1892
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
+ ) )
1896
1898
1897
1899
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 )
1905
1905
: null
1906
1906
const entriesWithAction = actionManifest ? new Set ( ) : null
1907
1907
if ( actionManifest && entriesWithAction ) {
@@ -3287,8 +3287,8 @@ export default async function build(
3287
3287
fallback : ssgBlockingFallbackPages . has ( tbdRoute )
3288
3288
? null
3289
3289
: ssgStaticFallbackPages . has ( tbdRoute )
3290
- ? `${ normalizedRoute } .html`
3291
- : false ,
3290
+ ? `${ normalizedRoute } .html`
3291
+ : false ,
3292
3292
dataRouteRegex : normalizeRouteRegex (
3293
3293
getNamedRouteRegex (
3294
3294
dataRoute . replace ( / \. j s o n $ / , '' ) ,
Original file line number Diff line number Diff line change @@ -163,8 +163,8 @@ export function getDefineEnv({
163
163
'process.env.NEXT_RUNTIME' : isEdgeServer
164
164
? 'edge'
165
165
: isNodeServer
166
- ? 'nodejs'
167
- : '' ,
166
+ ? 'nodejs'
167
+ : '' ,
168
168
'process.env.NEXT_MINIMAL' : '' ,
169
169
'process.env.__NEXT_PPR' : config . experimental . ppr === true ,
170
170
'process.env.NEXT_DEPLOYMENT_ID' : config . deploymentId || false ,
You can’t perform that action at this time.
0 commit comments