@modern-js/app-tools 2.49.1-alpha.10 → 2.49.1-alpha.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -89,7 +89,7 @@ var deploy_default = () => ({
89
89
  await import_utils.fs.copy(import_path.default.join(distDirectory, "static"), staticDirectory);
90
90
  if (!needModernServer) {
91
91
  const destHtmlDirectory = import_path.default.join(distDirectory, "html");
92
- const outputHtmlDirectory = import_path.default.join(destHtmlDirectory, "html");
92
+ const outputHtmlDirectory = import_path.default.join(outputDirectory, "html");
93
93
  await import_utils.fs.copy(destHtmlDirectory, outputHtmlDirectory);
94
94
  } else {
95
95
  funcsDirectory = import_path.default.join(outputDirectory, "functions", "index.func");
@@ -107,7 +107,7 @@ function deploy_default() {
107
107
  9
108
108
  ];
109
109
  destHtmlDirectory = path.join(distDirectory, "html");
110
- outputHtmlDirectory = path.join(destHtmlDirectory, "html");
110
+ outputHtmlDirectory = path.join(outputDirectory, "html");
111
111
  return [
112
112
  4,
113
113
  fse.copy(destHtmlDirectory, outputHtmlDirectory)
@@ -56,7 +56,7 @@ var deploy_default = () => ({
56
56
  await fse.copy(path.join(distDirectory, "static"), staticDirectory);
57
57
  if (!needModernServer) {
58
58
  const destHtmlDirectory = path.join(distDirectory, "html");
59
- const outputHtmlDirectory = path.join(destHtmlDirectory, "html");
59
+ const outputHtmlDirectory = path.join(outputDirectory, "html");
60
60
  await fse.copy(destHtmlDirectory, outputHtmlDirectory);
61
61
  } else {
62
62
  funcsDirectory = path.join(outputDirectory, "functions", "index.func");
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.49.1-alpha.10",
18
+ "version": "2.49.1-alpha.11",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "types": "./dist/types/index.d.ts",
21
21
  "main": "./dist/cjs/index.js",
@@ -86,13 +86,13 @@
86
86
  "@modern-js/plugin-i18n": "2.49.0",
87
87
  "@modern-js/prod-server": "2.49.0",
88
88
  "@modern-js/plugin-lint": "2.49.0",
89
- "@modern-js/server": "2.49.0",
90
89
  "@modern-js/rsbuild-plugin-esbuild": "2.49.1",
90
+ "@modern-js/server-core": "2.49.0",
91
91
  "@modern-js/types": "2.49.0",
92
92
  "@modern-js/server-utils": "2.49.0",
93
- "@modern-js/server-core": "2.49.0",
94
93
  "@modern-js/uni-builder": "2.49.0",
95
- "@modern-js/utils": "2.49.0"
94
+ "@modern-js/utils": "2.49.0",
95
+ "@modern-js/server": "2.49.0"
96
96
  },
97
97
  "devDependencies": {
98
98
  "@rsbuild/plugin-swc": "0.6.4",