@modern-js/runtime 2.68.12 → 2.68.13-alpha.0

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.
@@ -59,7 +59,7 @@ const modifyEntrypoints = (entrypoints, isRouterV5) => {
59
59
  if (isRouterV5) {
60
60
  throw Error("Custom entries with conventional routing not support use react router v5!");
61
61
  }
62
- entrypoint.nestedRoutesEntry = entrypoint.entry;
62
+ entrypoint.nestedRoutesEntry = entrypoint.absoluteEntryDir || entrypoint.entry;
63
63
  }
64
64
  return entrypoint;
65
65
  }
@@ -29,7 +29,7 @@ var modifyEntrypoints = function(entrypoints, isRouterV5) {
29
29
  if (isRouterV5) {
30
30
  throw Error("Custom entries with conventional routing not support use react router v5!");
31
31
  }
32
- entrypoint.nestedRoutesEntry = entrypoint.entry;
32
+ entrypoint.nestedRoutesEntry = entrypoint.absoluteEntryDir || entrypoint.entry;
33
33
  }
34
34
  return entrypoint;
35
35
  }
@@ -23,7 +23,7 @@ const modifyEntrypoints = (entrypoints, isRouterV5) => {
23
23
  if (isRouterV5) {
24
24
  throw Error("Custom entries with conventional routing not support use react router v5!");
25
25
  }
26
- entrypoint.nestedRoutesEntry = entrypoint.entry;
26
+ entrypoint.nestedRoutesEntry = entrypoint.absoluteEntryDir || entrypoint.entry;
27
27
  }
28
28
  return entrypoint;
29
29
  }
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.68.12",
18
+ "version": "2.68.13-alpha.0",
19
19
  "engines": {
20
20
  "node": ">=14.17.6"
21
21
  },
@@ -222,9 +222,9 @@
222
222
  "@modern-js/plugin": "2.68.12",
223
223
  "@modern-js/plugin-data-loader": "2.68.12",
224
224
  "@modern-js/plugin-v2": "2.68.12",
225
+ "@modern-js/runtime-utils": "2.68.12",
225
226
  "@modern-js/render": "2.68.12",
226
227
  "@modern-js/types": "2.68.12",
227
- "@modern-js/runtime-utils": "2.68.12",
228
228
  "@modern-js/utils": "2.68.12"
229
229
  },
230
230
  "peerDependencies": {
@@ -233,7 +233,7 @@
233
233
  },
234
234
  "devDependencies": {
235
235
  "@remix-run/web-fetch": "^4.1.3",
236
- "@rsbuild/core": "1.5.3",
236
+ "@rsbuild/core": "1.5.6",
237
237
  "@testing-library/react": "^13.4.0",
238
238
  "@types/cookie": "0.6.0",
239
239
  "@types/invariant": "^2.2.30",
@@ -249,10 +249,10 @@
249
249
  "ts-node": "^10.9.1",
250
250
  "typescript": "^5",
251
251
  "webpack": "^5.101.3",
252
- "@modern-js/app-tools": "2.68.12",
253
252
  "@scripts/build": "2.66.0",
254
- "@scripts/jest-config": "2.66.0",
255
- "@modern-js/core": "2.68.12"
253
+ "@modern-js/app-tools": "2.68.12",
254
+ "@modern-js/core": "2.68.12",
255
+ "@scripts/jest-config": "2.66.0"
256
256
  },
257
257
  "sideEffects": false,
258
258
  "publishConfig": {