@modern-js/runtime 2.54.4 → 2.54.5

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.
@@ -60,7 +60,7 @@ const modifyEntrypoints = (entrypoints, config = {}) => {
60
60
  }
61
61
  const isHasNestedRoutes = hasNestedRoutes(entrypoint.absoluteEntryDir);
62
62
  const isHasPages = hasPages(entrypoint.absoluteEntryDir);
63
- if (!isHasNestedRoutes && !isHasPages) {
63
+ if (!isHasNestedRoutes && !isHasPages && !entrypoint.fileSystemRoutes) {
64
64
  return entrypoint;
65
65
  }
66
66
  if (entrypoint.fileSystemRoutes && !(0, import_utils.isRouterV5)(config)) {
@@ -29,7 +29,7 @@ var modifyEntrypoints = function(entrypoints) {
29
29
  }
30
30
  var isHasNestedRoutes = hasNestedRoutes(entrypoint.absoluteEntryDir);
31
31
  var isHasPages = hasPages(entrypoint.absoluteEntryDir);
32
- if (!isHasNestedRoutes && !isHasPages) {
32
+ if (!isHasNestedRoutes && !isHasPages && !entrypoint.fileSystemRoutes) {
33
33
  return entrypoint;
34
34
  }
35
35
  if (entrypoint.fileSystemRoutes && !isRouterV5(config)) {
@@ -24,7 +24,7 @@ const modifyEntrypoints = (entrypoints, config = {}) => {
24
24
  }
25
25
  const isHasNestedRoutes = hasNestedRoutes(entrypoint.absoluteEntryDir);
26
26
  const isHasPages = hasPages(entrypoint.absoluteEntryDir);
27
- if (!isHasNestedRoutes && !isHasPages) {
27
+ if (!isHasNestedRoutes && !isHasPages && !entrypoint.fileSystemRoutes) {
28
28
  return entrypoint;
29
29
  }
30
30
  if (entrypoint.fileSystemRoutes && !isRouterV5(config)) {
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.54.4",
18
+ "version": "2.54.5",
19
19
  "engines": {
20
20
  "node": ">=14.17.6"
21
21
  },
@@ -195,11 +195,11 @@
195
195
  "react-side-effect": "^2.1.1",
196
196
  "styled-components": "^5.3.1",
197
197
  "@swc/helpers": "0.5.3",
198
- "@modern-js/plugin": "2.54.4",
199
- "@modern-js/utils": "2.54.4",
200
- "@modern-js/plugin-data-loader": "2.54.4",
201
- "@modern-js/runtime-utils": "2.54.4",
202
- "@modern-js/types": "2.54.4"
198
+ "@modern-js/types": "2.54.5",
199
+ "@modern-js/plugin": "2.54.5",
200
+ "@modern-js/plugin-data-loader": "2.54.5",
201
+ "@modern-js/runtime-utils": "2.54.5",
202
+ "@modern-js/utils": "2.54.5"
203
203
  },
204
204
  "peerDependencies": {
205
205
  "react": ">=17",
@@ -220,11 +220,10 @@
220
220
  "ts-jest": "^29.1.0",
221
221
  "typescript": "^5",
222
222
  "webpack": "^5.92.0",
223
- "@modern-js/app-tools": "2.54.4",
224
- "@modern-js/core": "2.54.4",
225
- "@scripts/build": "2.54.4",
226
- "@scripts/jest-config": "2.54.4",
227
- "@modern-js/server-core": "2.54.4"
223
+ "@modern-js/core": "2.54.5",
224
+ "@scripts/jest-config": "2.54.5",
225
+ "@scripts/build": "2.54.5",
226
+ "@modern-js/app-tools": "2.54.5"
228
227
  },
229
228
  "sideEffects": false,
230
229
  "publishConfig": {