File tree 1 file changed +3
-2
lines changed
packages/open-next/src/build
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import {
11
11
} from "fs" ;
12
12
import path from "path" ;
13
13
import { NextConfig , PrerenderManifest } from "types/next-types" ;
14
+ import logger from "../logger" ;
14
15
15
16
export async function copyTracedFiles (
16
17
buildOutputPath : string ,
@@ -19,7 +20,7 @@ export async function copyTracedFiles(
19
20
routes : string [ ] ,
20
21
bundledNextServer : boolean ,
21
22
) {
22
- console . time ( "copyTracedFiles" ) ;
23
+ const tsStart = Date . now ( ) ;
23
24
const dotNextDir = path . join ( buildOutputPath , ".next" ) ;
24
25
const standaloneDir = path . join ( dotNextDir , "standalone" ) ;
25
26
const standaloneNextDir = path . join ( standaloneDir , packagePath , ".next" ) ;
@@ -232,5 +233,5 @@ export async function copyTracedFiles(
232
233
} ) ;
233
234
}
234
235
235
- console . timeEnd ( "copyTracedFiles" ) ;
236
+ logger . debug ( "copyTracedFiles:" , Date . now ( ) - tsStart , "ms ") ;
236
237
}
You can’t perform that action at this time.
0 commit comments