@modern-js/app-tools 2.49.3-alpha.20 → 2.49.3-alpha.21

Sign up to get free protection for your applications and to get access to all the features.
@@ -109,8 +109,6 @@ const createNetlifyPreset = (appContext, modernConfig, needModernServer) => {
109
109
  await (0, import_dependencies.handleDependencies)(appDirectory, funcsDirectory, [
110
110
  "@modern-js/prod-server"
111
111
  ]);
112
- const netlifyNodeModules = import_node_path.default.join(netlifyOutput, "node_modules");
113
- await import_utils.fs.move(import_node_path.default.join(funcsDirectory, "node_modules"), netlifyNodeModules);
114
112
  }
115
113
  };
116
114
  };
@@ -149,7 +149,6 @@ var createNetlifyPreset = function(appContext, modernConfig, needModernServer) {
149
149
  },
150
150
  end: function end() {
151
151
  return _async_to_generator(function() {
152
- var netlifyNodeModules;
153
152
  return _ts_generator(this, function(_state) {
154
153
  switch (_state.label) {
155
154
  case 0:
@@ -160,13 +159,6 @@ var createNetlifyPreset = function(appContext, modernConfig, needModernServer) {
160
159
  ])
161
160
  ];
162
161
  case 1:
163
- _state.sent();
164
- netlifyNodeModules = path.join(netlifyOutput, "node_modules");
165
- return [
166
- 4,
167
- fse.move(path.join(funcsDirectory, "node_modules"), netlifyNodeModules)
168
- ];
169
- case 2:
170
162
  _state.sent();
171
163
  return [
172
164
  2
@@ -76,8 +76,6 @@ const createNetlifyPreset = (appContext, modernConfig, needModernServer) => {
76
76
  await handleDependencies(appDirectory, funcsDirectory, [
77
77
  "@modern-js/prod-server"
78
78
  ]);
79
- const netlifyNodeModules = path.join(netlifyOutput, "node_modules");
80
- await fse.move(path.join(funcsDirectory, "node_modules"), netlifyNodeModules);
81
79
  }
82
80
  };
83
81
  };
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.49.3-alpha.20",
18
+ "version": "2.49.3-alpha.21",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "types": "./dist/types/index.d.ts",
21
21
  "main": "./dist/cjs/index.js",
@@ -83,17 +83,17 @@
83
83
  "@modern-js/plugin": "2.49.3",
84
84
  "@modern-js/plugin-i18n": "2.49.3",
85
85
  "@modern-js/core": "2.49.3",
86
- "@modern-js/plugin-lint": "2.49.3",
87
86
  "@modern-js/prod-server": "2.49.4-alpha.1",
88
87
  "@modern-js/server-core": "2.49.3",
89
- "@modern-js/rsbuild-plugin-esbuild": "2.49.3",
90
- "@modern-js/node-bundle-require": "2.49.3",
91
- "@modern-js/types": "2.49.3",
92
- "@modern-js/server-utils": "2.49.3",
93
88
  "@modern-js/uni-builder": "2.49.3",
89
+ "@modern-js/server-utils": "2.49.3",
90
+ "@modern-js/types": "2.49.3",
94
91
  "@modern-js/utils": "2.49.3",
92
+ "@modern-js/server": "2.49.3",
95
93
  "@modern-js/plugin-data-loader": "2.49.3",
96
- "@modern-js/server": "2.49.3"
94
+ "@modern-js/plugin-lint": "2.49.3",
95
+ "@modern-js/rsbuild-plugin-esbuild": "2.49.3",
96
+ "@modern-js/node-bundle-require": "2.49.3"
97
97
  },
98
98
  "devDependencies": {
99
99
  "@rsbuild/plugin-swc": "0.6.15",