@opennextjs/aws 3.6.3 → 3.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/plugins/edge.js +3 -1
- package/package.json +1 -1
package/dist/plugins/edge.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { readFileSync } from "node:fs";
|
|
2
2
|
import path from "node:path";
|
|
3
3
|
import chalk from "chalk";
|
|
4
|
-
import { loadAppPathRoutesManifest, loadAppPathsManifest, loadAppPathsManifestKeys, loadBuildId, loadConfig, loadConfigHeaders, loadFunctionsConfigManifest, loadHtmlPages, loadMiddlewareManifest, loadPrerenderManifest, loadRoutesManifest, } from "../adapters/config/util.js";
|
|
4
|
+
import { loadAppPathRoutesManifest, loadAppPathsManifest, loadAppPathsManifestKeys, loadBuildId, loadConfig, loadConfigHeaders, loadFunctionsConfigManifest, loadHtmlPages, loadMiddlewareManifest, loadPagesManifest, loadPrerenderManifest, loadRoutesManifest, } from "../adapters/config/util.js";
|
|
5
5
|
import logger from "../logger.js";
|
|
6
6
|
import { normalizePath } from "../utils/normalize-path.js";
|
|
7
7
|
import { getCrossPlatformPathRegex } from "../utils/regex.js";
|
|
@@ -118,6 +118,7 @@ ${contents}
|
|
|
118
118
|
const AppPathsManifest = loadAppPathsManifest(nextDir);
|
|
119
119
|
const AppPathRoutesManifest = loadAppPathRoutesManifest(nextDir);
|
|
120
120
|
const FunctionsConfigManifest = loadFunctionsConfigManifest(nextDir);
|
|
121
|
+
const PagesManifest = loadPagesManifest(nextDir);
|
|
121
122
|
const contents = `
|
|
122
123
|
import path from "node:path";
|
|
123
124
|
|
|
@@ -141,6 +142,7 @@ ${contents}
|
|
|
141
142
|
export const AppPathsManifest = ${JSON.stringify(AppPathsManifest)};
|
|
142
143
|
export const AppPathRoutesManifest = ${JSON.stringify(AppPathRoutesManifest)};
|
|
143
144
|
export const FunctionsConfigManifest = ${JSON.stringify(FunctionsConfigManifest)};
|
|
145
|
+
export const PagesManifest = ${JSON.stringify(PagesManifest)};
|
|
144
146
|
|
|
145
147
|
|
|
146
148
|
process.env.NEXT_BUILD_ID = BuildId;
|