@modern-js/app-tools 2.49.3-alpha.17 → 2.49.3-alpha.18

Sign up to get free protection for your applications and to get access to all the features.
@@ -78,7 +78,7 @@ const createNetlifyPreset = (appContext, modernConfig, needModernServer) => {
78
78
  }
79
79
  });
80
80
  }
81
- const redirectFilePath = import_node_path.default.join(distDirectory, "__redirects");
81
+ const redirectFilePath = import_node_path.default.join(distDirectory, "_redirects");
82
82
  await import_utils.fs.writeFile(redirectFilePath, redirectContent);
83
83
  },
84
84
  async genEntry() {
@@ -87,7 +87,7 @@ var createNetlifyPreset = function(appContext, modernConfig, needModernServer) {
87
87
  _state.sent();
88
88
  _state.label = 4;
89
89
  case 4:
90
- redirectFilePath = path.join(distDirectory, "__redirects");
90
+ redirectFilePath = path.join(distDirectory, "_redirects");
91
91
  return [
92
92
  4,
93
93
  fse.writeFile(redirectFilePath, redirectContent)
@@ -45,7 +45,7 @@ const createNetlifyPreset = (appContext, modernConfig, needModernServer) => {
45
45
  }
46
46
  });
47
47
  }
48
- const redirectFilePath = path.join(distDirectory, "__redirects");
48
+ const redirectFilePath = path.join(distDirectory, "_redirects");
49
49
  await fse.writeFile(redirectFilePath, redirectContent);
50
50
  },
51
51
  async genEntry() {
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.49.3-alpha.17",
18
+ "version": "2.49.3-alpha.18",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "types": "./dist/types/index.d.ts",
21
21
  "main": "./dist/cjs/index.js",
@@ -80,20 +80,20 @@
80
80
  "mlly": "^1.6.1",
81
81
  "pkg-types": "^1.1.0",
82
82
  "std-env": "^3.7.0",
83
- "@modern-js/core": "2.49.2",
84
83
  "@modern-js/plugin": "2.49.2",
85
- "@modern-js/plugin-i18n": "2.49.2",
86
- "@modern-js/prod-server": "2.49.2",
87
- "@modern-js/plugin-lint": "2.49.2",
88
- "@modern-js/rsbuild-plugin-esbuild": "2.49.2",
89
84
  "@modern-js/node-bundle-require": "2.49.2",
90
- "@modern-js/server-utils": "2.49.2",
91
- "@modern-js/server-core": "2.49.2",
85
+ "@modern-js/core": "2.49.2",
92
86
  "@modern-js/plugin-data-loader": "2.49.2",
87
+ "@modern-js/plugin-i18n": "2.49.2",
88
+ "@modern-js/plugin-lint": "2.49.2",
93
89
  "@modern-js/server": "2.49.2",
90
+ "@modern-js/prod-server": "2.49.2",
91
+ "@modern-js/server-utils": "2.49.2",
92
+ "@modern-js/utils": "2.49.2",
94
93
  "@modern-js/types": "2.49.2",
95
94
  "@modern-js/uni-builder": "2.49.2",
96
- "@modern-js/utils": "2.49.2"
95
+ "@modern-js/rsbuild-plugin-esbuild": "2.49.2",
96
+ "@modern-js/server-core": "2.49.2"
97
97
  },
98
98
  "devDependencies": {
99
99
  "@rsbuild/plugin-swc": "0.6.10",