@edgeone/opennextjs-pages 0.0.5 → 0.0.6
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.
|
@@ -254,7 +254,7 @@ var copyPrerenderedContent = async (ctx) => {
|
|
|
254
254
|
// Parallel route default layout has no prerendered page
|
|
255
255
|
case (meta.dataRoute?.endsWith("/default.rsc") && !existsSync(
|
|
256
256
|
join(ctx.publishDir, "server/app", `${key}.html`)
|
|
257
|
-
)):
|
|
257
|
+
) || meta.initialRevalidateSeconds !== false):
|
|
258
258
|
return;
|
|
259
259
|
case meta.dataRoute?.endsWith(".json"):
|
|
260
260
|
if (manifest.notFoundRoutes.includes(route)) {
|
package/dist/build/routes.js
CHANGED
|
@@ -17,7 +17,7 @@ var convertNextRoutePattern = (path2) => {
|
|
|
17
17
|
const optionalCatchAllMatch = path2.match(/\[\[\.\.\.([^\]]+)\]\]/);
|
|
18
18
|
if (optionalCatchAllMatch) {
|
|
19
19
|
const paramName = optionalCatchAllMatch[1];
|
|
20
|
-
convertedPath = convertedPath.replace(/\[\[\.\.\.([^\]]+)\]\]/g, `:${paramName}
|
|
20
|
+
convertedPath = convertedPath.replace(/\[\[\.\.\.([^\]]+)\]\]/g, `:${paramName}*`);
|
|
21
21
|
}
|
|
22
22
|
const catchAllMatch = path2.match(/\[\.\.\.([^\]]+)\]/);
|
|
23
23
|
if (catchAllMatch) {
|
|
@@ -28,7 +28,7 @@ module.exports = __toCommonJS(tags_handler_exports);
|
|
|
28
28
|
|
|
29
29
|
// package.json
|
|
30
30
|
var name = "@edgeone/opennextjs-pages";
|
|
31
|
-
var version = "0.0.
|
|
31
|
+
var version = "0.0.6";
|
|
32
32
|
|
|
33
33
|
// src/run/handlers/tags-handler.cts
|
|
34
34
|
var import_request_context = require("./request-context.cjs");
|