@modern-js/app-tools 2.49.3-alpha.6 → 2.49.3-alpha.7
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.
@@ -69,7 +69,7 @@ var deploy_default = () => ({
|
|
69
69
|
entrypoints.forEach((entry) => {
|
70
70
|
const isMain = (0, import_routes.isMainEntry)(entry.entryName, mainEntryName);
|
71
71
|
routes.push({
|
72
|
-
src: `/${isMain ? "" : entry.entryName}
|
72
|
+
src: `/${isMain ? "" : entry.entryName}/*`,
|
73
73
|
dest: `/html/${entry.entryName}/index.html`,
|
74
74
|
status: 200
|
75
75
|
});
|
@@ -63,7 +63,7 @@ function deploy_default() {
|
|
63
63
|
entrypoints.forEach(function(entry) {
|
64
64
|
var isMain = isMainEntry(entry.entryName, mainEntryName);
|
65
65
|
routes.push({
|
66
|
-
src: "/".concat(isMain ? "" : entry.entryName, "
|
66
|
+
src: "/".concat(isMain ? "" : entry.entryName, "/*"),
|
67
67
|
dest: "/html/".concat(entry.entryName, "/index.html"),
|
68
68
|
status: 200
|
69
69
|
});
|
@@ -36,7 +36,7 @@ var deploy_default = () => ({
|
|
36
36
|
entrypoints.forEach((entry) => {
|
37
37
|
const isMain = isMainEntry(entry.entryName, mainEntryName);
|
38
38
|
routes.push({
|
39
|
-
src: `/${isMain ? "" : entry.entryName}
|
39
|
+
src: `/${isMain ? "" : entry.entryName}/*`,
|
40
40
|
dest: `/html/${entry.entryName}/index.html`,
|
41
41
|
status: 200
|
42
42
|
});
|
package/package.json
CHANGED
@@ -15,7 +15,7 @@
|
|
15
15
|
"modern",
|
16
16
|
"modern.js"
|
17
17
|
],
|
18
|
-
"version": "2.49.3-alpha.
|
18
|
+
"version": "2.49.3-alpha.7",
|
19
19
|
"jsnext:source": "./src/index.ts",
|
20
20
|
"types": "./dist/types/index.d.ts",
|
21
21
|
"main": "./dist/cjs/index.js",
|
@@ -81,19 +81,19 @@
|
|
81
81
|
"pkg-types": "^1.1.0",
|
82
82
|
"std-env": "^3.7.0",
|
83
83
|
"@modern-js/core": "2.49.2",
|
84
|
-
"@modern-js/node-bundle-require": "2.49.2",
|
85
|
-
"@modern-js/plugin-data-loader": "2.49.2",
|
86
|
-
"@modern-js/plugin-i18n": "2.49.2",
|
87
84
|
"@modern-js/prod-server": "2.49.2",
|
88
|
-
"@modern-js/plugin-lint": "2.49.2",
|
89
85
|
"@modern-js/plugin": "2.49.2",
|
86
|
+
"@modern-js/node-bundle-require": "2.49.2",
|
87
|
+
"@modern-js/plugin-i18n": "2.49.2",
|
90
88
|
"@modern-js/rsbuild-plugin-esbuild": "2.49.2",
|
91
89
|
"@modern-js/server": "2.49.2",
|
90
|
+
"@modern-js/server-core": "2.49.2",
|
92
91
|
"@modern-js/server-utils": "2.49.2",
|
93
92
|
"@modern-js/types": "2.49.2",
|
94
|
-
"@modern-js/utils": "2.49.2",
|
95
93
|
"@modern-js/uni-builder": "2.49.2",
|
96
|
-
"@modern-js/
|
94
|
+
"@modern-js/utils": "2.49.2",
|
95
|
+
"@modern-js/plugin-lint": "2.49.2",
|
96
|
+
"@modern-js/plugin-data-loader": "2.49.2"
|
97
97
|
},
|
98
98
|
"devDependencies": {
|
99
99
|
"@rsbuild/plugin-swc": "0.6.10",
|