File tree 2 files changed +8
-0
lines changed
packages/open-next/src/plugins 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " @opennextjs/aws " : patch
3
+ ---
4
+
5
+ fix(edge): inline PagesManifest in edge bundle
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ import {
15
15
loadFunctionsConfigManifest ,
16
16
loadHtmlPages ,
17
17
loadMiddlewareManifest ,
18
+ loadPagesManifest ,
18
19
loadPrerenderManifest ,
19
20
loadRoutesManifest ,
20
21
} from "../adapters/config/util.js" ;
@@ -166,6 +167,7 @@ ${contents}
166
167
const AppPathsManifest = loadAppPathsManifest ( nextDir ) ;
167
168
const AppPathRoutesManifest = loadAppPathRoutesManifest ( nextDir ) ;
168
169
const FunctionsConfigManifest = loadFunctionsConfigManifest ( nextDir ) ;
170
+ const PagesManifest = loadPagesManifest ( nextDir ) ;
169
171
170
172
const contents = `
171
173
import path from "node:path";
@@ -190,6 +192,7 @@ ${contents}
190
192
export const AppPathsManifest = ${ JSON . stringify ( AppPathsManifest ) } ;
191
193
export const AppPathRoutesManifest = ${ JSON . stringify ( AppPathRoutesManifest ) } ;
192
194
export const FunctionsConfigManifest = ${ JSON . stringify ( FunctionsConfigManifest ) } ;
195
+ export const PagesManifest = ${ JSON . stringify ( PagesManifest ) } ;
193
196
194
197
195
198
process.env.NEXT_BUILD_ID = BuildId;
You can’t perform that action at this time.
0 commit comments