File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ pub async fn next_server_nft_assets(project: Vc<Project>) -> Result<Vc<OutputAss
195195 ResolvedVc :: upcast(
196196 ServerNftJsonAsset :: new(
197197 project,
198- RcStr :: from( "next-server.turbo " ) ,
198+ RcStr :: from( "next-server" ) ,
199199 Vc :: cell( server_entries) ,
200200 Glob :: alternatives( server_ignores_glob) ,
201201 )
@@ -205,7 +205,7 @@ pub async fn next_server_nft_assets(project: Vc<Project>) -> Result<Vc<OutputAss
205205 ResolvedVc :: upcast(
206206 ServerNftJsonAsset :: new(
207207 project,
208- RcStr :: from( "next-minimal-server.turbo " ) ,
208+ RcStr :: from( "next-minimal-server" ) ,
209209 Vc :: cell( minimal_server_entries) ,
210210 minimal_server_ignores_glob,
211211 )
Original file line number Diff line number Diff line change @@ -111,11 +111,13 @@ export async function collectBuildTraces({
111111 . traceAsyncFn ( async ( ) => {
112112 const nextServerTraceOutput = path . join (
113113 distDir ,
114- 'next-server.js.nft.json'
114+ isTurbopack ? 'next-server.ref.js.nft.json' : 'next-server.js.nft.json'
115115 )
116116 const nextMinimalTraceOutput = path . join (
117117 distDir ,
118- 'next-minimal-server.js.nft.json'
118+ isTurbopack
119+ ? 'next-minimal-server.ref.js.nft.json'
120+ : 'next-minimal-server.js.nft.json'
119121 )
120122 const root = outputFileTracingRoot
121123
Original file line number Diff line number Diff line change @@ -2499,7 +2499,7 @@ export default async function build(
24992499 hasSsrAmpPages,
25002500 buildTraceContext,
25012501 outputFileTracingRoot,
2502- isTurbopack : true ,
2502+ isTurbopack,
25032503 } ) . catch ( ( err ) => {
25042504 console . error ( err )
25052505 process . exit ( 1 )
You can’t perform that action at this time.
0 commit comments