@opensumi/ide-dev-tool 3.6.4-next-1734602150.0 → 3.6.5-next-1734685380.0
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.
- package/package.json +2 -3
- package/src/server.ts +2 -0
- package/src/webpack.js +1 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opensumi/ide-dev-tool",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.5-next-1734685380.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git@github.com:opensumi/core.git"
|
|
@@ -19,7 +19,6 @@
|
|
|
19
19
|
"css-loader": "^6.9.1",
|
|
20
20
|
"fork-ts-checker-webpack-plugin": "^9.0.2",
|
|
21
21
|
"html-webpack-plugin": "^5.6.0",
|
|
22
|
-
"ignore-loader": "^0.1.2",
|
|
23
22
|
"koa": "^2.15.0",
|
|
24
23
|
"koa-bodyparser": "^4.3.0",
|
|
25
24
|
"koa-router": "^12.0.1",
|
|
@@ -39,5 +38,5 @@
|
|
|
39
38
|
"webpack-cli": "^5.1.4",
|
|
40
39
|
"webpack-merge": "^5.10.0"
|
|
41
40
|
},
|
|
42
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "f3f687ab92b2f35018432c403476b9ee363071cc"
|
|
43
42
|
}
|
package/src/server.ts
CHANGED
|
@@ -88,6 +88,8 @@ export async function startServer(
|
|
|
88
88
|
*/
|
|
89
89
|
extHost:
|
|
90
90
|
process.env.EXTENSION_HOST_ENTRY || path.join(__dirname, '../../../packages/extension/lib/hosted/ext.process.js'),
|
|
91
|
+
watcherHost:
|
|
92
|
+
process.env.WATCHER_HOST_ENTRY || path.join(__dirname, '../../../packages/file-service/lib/node/hosted/watcher.process.js'),
|
|
91
93
|
onDidCreateExtensionHostProcess: (extHostProcess) => {
|
|
92
94
|
console.log(`Extension host process ${extHostProcess.pid} created`);
|
|
93
95
|
},
|
package/src/webpack.js
CHANGED
|
@@ -99,7 +99,7 @@ exports.createWebpackConfig = function (dir, entry, extraConfig) {
|
|
|
99
99
|
},
|
|
100
100
|
{
|
|
101
101
|
test: /\.tsx?$/,
|
|
102
|
-
exclude: [notebookModulePath
|
|
102
|
+
exclude: [notebookModulePath],
|
|
103
103
|
use: [
|
|
104
104
|
{
|
|
105
105
|
loader: 'ts-loader',
|
|
@@ -180,17 +180,6 @@ exports.createWebpackConfig = function (dir, entry, extraConfig) {
|
|
|
180
180
|
filename: 'fonts/[name][hash:8][ext][query]',
|
|
181
181
|
},
|
|
182
182
|
},
|
|
183
|
-
{
|
|
184
|
-
/**
|
|
185
|
-
* monaco 从 0.53 版本开始已经全面编译成 esm 模块,其中有使用动态 import 的导入
|
|
186
|
-
* 而我们将其进行编译时会把动态 import 的所有文件连同不同的后缀名(例如 .d.ts 和 .js.map)等都进行了 require 导入,从而导包错误
|
|
187
|
-
* 具体可以搜索 bundle.js 文件里带有 webpackAsyncContext 的部分
|
|
188
|
-
*
|
|
189
|
-
* 目前还不知道怎么剔除这些 .d.ts 和 .js.map 的生成,只能在这个地方先进行 ignore
|
|
190
|
-
*/
|
|
191
|
-
test: /\.d\.ts$|\.js\.map$/,
|
|
192
|
-
use: 'ignore-loader',
|
|
193
|
-
},
|
|
194
183
|
],
|
|
195
184
|
},
|
|
196
185
|
resolveLoader: {
|