File tree 1 file changed +2
-1
lines changed
packages/runtime/src/helpers
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ export const moveStaticPages = async ({
85
85
basePath ?: string
86
86
} ) : Promise < void > => {
87
87
console . log ( 'Moving static page files to serve from CDN...' )
88
- const outputDir = join ( netlifyConfig . build . publish , target === 'server ' ? 'server ' : 'serverless ' )
88
+ const outputDir = join ( netlifyConfig . build . publish , target === 'serverless ' ? 'serverless ' : 'server ' )
89
89
const buildId = readFileSync ( join ( netlifyConfig . build . publish , 'BUILD_ID' ) , 'utf8' ) . trim ( )
90
90
const dataDir = join ( '_next' , 'data' , buildId )
91
91
await ensureDir ( join ( netlifyConfig . build . publish , dataDir ) )
@@ -134,6 +134,7 @@ export const moveStaticPages = async ({
134
134
const dest = join ( netlifyConfig . build . publish , targetPath )
135
135
136
136
try {
137
+ console . log ( `Moving ${ source } to ${ dest } ` )
137
138
await move ( source , dest )
138
139
} catch ( error ) {
139
140
console . warn ( 'Error moving file' , source , error )
You can’t perform that action at this time.
0 commit comments