@cedarjs/prerender 5.0.0-canary.2363 → 5.0.0-canary.2374
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runPrerender.d.ts","sourceRoot":"","sources":["../../src/runPrerender.tsx"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"runPrerender.d.ts","sourceRoot":"","sources":["../../src/runPrerender.tsx"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAsO7C,UAAU,eAAe;IACvB,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAA;IACrC,UAAU,EAAE,MAAM,CAAA;CACnB;AAED,eAAO,MAAM,YAAY,GAAU,6BAGhC,eAAe,KAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAkIzC,CAAA;AAGD,eAAO,MAAM,wBAAwB,GACnC,gBAAgB,MAAM,EACtB,SAAS,MAAM,SAchB,CAAA"}
|
package/dist/cjs/runPrerender.js
CHANGED
|
@@ -156,7 +156,7 @@ function insertChunkLoadingScript(indexHtmlTree, renderPath) {
|
|
|
156
156
|
);
|
|
157
157
|
const chunkPaths = [];
|
|
158
158
|
if (route?.filePath) {
|
|
159
|
-
const pagesIndex = route.filePath.indexOf(import_node_path.default.join("web", "src", "pages")) +
|
|
159
|
+
const pagesIndex = route.filePath.indexOf(import_node_path.default.join("web", "src", "pages")) + 4;
|
|
160
160
|
const pagePath = (0, import_project_config.ensurePosixPath)(route.filePath.slice(pagesIndex));
|
|
161
161
|
const pageChunkPath = buildManifest[pagePath]?.file;
|
|
162
162
|
if (pageChunkPath) {
|
|
@@ -156,7 +156,7 @@ function insertChunkLoadingScript(indexHtmlTree, renderPath) {
|
|
|
156
156
|
);
|
|
157
157
|
const chunkPaths = [];
|
|
158
158
|
if (route?.filePath) {
|
|
159
|
-
const pagesIndex = route.filePath.indexOf(import_node_path.default.join("web", "src", "pages")) +
|
|
159
|
+
const pagesIndex = route.filePath.indexOf(import_node_path.default.join("web", "src", "pages")) + 4;
|
|
160
160
|
const pagePath = (0, import_project_config.ensurePosixPath)(route.filePath.slice(pagesIndex));
|
|
161
161
|
const pageChunkPath = buildManifest[pagePath]?.file;
|
|
162
162
|
if (pageChunkPath) {
|
package/dist/runPrerenderEsm.js
CHANGED
|
@@ -130,7 +130,7 @@ function insertChunkLoadingScript(indexHtmlTree, renderPath) {
|
|
|
130
130
|
);
|
|
131
131
|
const chunkPaths = [];
|
|
132
132
|
if (route?.filePath) {
|
|
133
|
-
const pagesIndex = route.filePath.indexOf(path.join("web", "src", "pages")) +
|
|
133
|
+
const pagesIndex = route.filePath.indexOf(path.join("web", "src", "pages")) + 4;
|
|
134
134
|
const pagePath = ensurePosixPath(route.filePath.slice(pagesIndex));
|
|
135
135
|
const pageChunkPath = buildManifest[pagePath]?.file;
|
|
136
136
|
if (pageChunkPath) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/prerender",
|
|
3
|
-
"version": "5.0.0-canary.
|
|
3
|
+
"version": "5.0.0-canary.2374",
|
|
4
4
|
"description": "CedarJS prerender",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -71,12 +71,12 @@
|
|
|
71
71
|
"@babel/generator": "7.29.1",
|
|
72
72
|
"@babel/parser": "7.29.3",
|
|
73
73
|
"@babel/traverse": "7.29.0",
|
|
74
|
-
"@cedarjs/babel-config": "5.0.0-canary.
|
|
75
|
-
"@cedarjs/project-config": "5.0.0-canary.
|
|
76
|
-
"@cedarjs/router": "5.0.0-canary.
|
|
77
|
-
"@cedarjs/structure": "5.0.0-canary.
|
|
78
|
-
"@cedarjs/vite": "5.0.0-canary.
|
|
79
|
-
"@cedarjs/web": "5.0.0-canary.
|
|
74
|
+
"@cedarjs/babel-config": "5.0.0-canary.2374",
|
|
75
|
+
"@cedarjs/project-config": "5.0.0-canary.2374",
|
|
76
|
+
"@cedarjs/router": "5.0.0-canary.2374",
|
|
77
|
+
"@cedarjs/structure": "5.0.0-canary.2374",
|
|
78
|
+
"@cedarjs/vite": "5.0.0-canary.2374",
|
|
79
|
+
"@cedarjs/web": "5.0.0-canary.2374",
|
|
80
80
|
"@rollup/plugin-alias": "5.1.1",
|
|
81
81
|
"@rollup/plugin-commonjs": "28.0.9",
|
|
82
82
|
"@rollup/plugin-node-resolve": "16.0.3",
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"vite": "7.3.2"
|
|
95
95
|
},
|
|
96
96
|
"devDependencies": {
|
|
97
|
-
"@cedarjs/framework-tools": "5.0.0-canary.
|
|
97
|
+
"@cedarjs/framework-tools": "5.0.0-canary.2374",
|
|
98
98
|
"@types/mime-types": "2.1.4",
|
|
99
99
|
"@types/react": "^18.2.55",
|
|
100
100
|
"babel-plugin-tester": "11.0.4",
|