@opensumi/ide-dev-tool 3.4.5-next-1730120479.0 → 3.4.6-next-1730347271.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 +3 -3
- package/src/webpack.js +1 -23
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opensumi/ide-dev-tool",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.6-next-1730347271.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git@github.com:opensumi/core.git"
|
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
"ts-loader": "^9.5.1",
|
|
36
36
|
"tsconfig-paths": "^4.2.0",
|
|
37
37
|
"tsconfig-paths-webpack-plugin": "^4.1.0",
|
|
38
|
-
"typescript": "
|
|
38
|
+
"typescript": "4.9.3",
|
|
39
39
|
"webpack": "^5.90.0",
|
|
40
40
|
"webpack-cli": "^5.1.4",
|
|
41
41
|
"webpack-merge": "^5.10.0"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "dc271e0c7c32f35a75bd4e45f28167773c912d13"
|
|
44
44
|
}
|
package/src/webpack.js
CHANGED
|
@@ -12,7 +12,6 @@ const { merge } = require('webpack-merge');
|
|
|
12
12
|
const reactPath = path.resolve(path.join(__dirname, '../../../node_modules/react'));
|
|
13
13
|
const reactDOMPath = path.resolve(path.join(__dirname, '../../../node_modules/react-dom'));
|
|
14
14
|
const tsConfigPath = path.join(__dirname, '../../../tsconfig.json');
|
|
15
|
-
const esmodulePath = path.join(__dirname, '../../../packages/notebook');
|
|
16
15
|
const HOST = process.env.HOST || '0.0.0.0';
|
|
17
16
|
const IDE_FRONT_PORT = process.env.IDE_FRONT_PORT || 8080;
|
|
18
17
|
|
|
@@ -68,7 +67,6 @@ exports.createWebpackConfig = function (dir, entry, extraConfig) {
|
|
|
68
67
|
child_process: false,
|
|
69
68
|
url: false,
|
|
70
69
|
fs: false,
|
|
71
|
-
stream: false,
|
|
72
70
|
},
|
|
73
71
|
},
|
|
74
72
|
bail: true,
|
|
@@ -80,26 +78,6 @@ exports.createWebpackConfig = function (dir, entry, extraConfig) {
|
|
|
80
78
|
rules: [
|
|
81
79
|
{
|
|
82
80
|
test: /\.tsx?$/,
|
|
83
|
-
include: esmodulePath,
|
|
84
|
-
use: [
|
|
85
|
-
{
|
|
86
|
-
loader: 'ts-loader',
|
|
87
|
-
options: {
|
|
88
|
-
happyPackMode: true,
|
|
89
|
-
transpileOnly: true,
|
|
90
|
-
configFile: tsConfigPath,
|
|
91
|
-
compilerOptions: {
|
|
92
|
-
module: 'esnext',
|
|
93
|
-
moduleResolution: 'bundler',
|
|
94
|
-
target: 'es2015',
|
|
95
|
-
},
|
|
96
|
-
},
|
|
97
|
-
},
|
|
98
|
-
],
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
test: /\.tsx?$/,
|
|
102
|
-
exclude: esmodulePath,
|
|
103
81
|
use: [
|
|
104
82
|
{
|
|
105
83
|
loader: 'ts-loader',
|
|
@@ -177,7 +155,7 @@ exports.createWebpackConfig = function (dir, entry, extraConfig) {
|
|
|
177
155
|
test: /\.(woff(2)?|ttf|eot)(\?v=\d+\.\d+\.\d+)?$/,
|
|
178
156
|
type: 'asset/resource',
|
|
179
157
|
generator: {
|
|
180
|
-
filename: 'fonts/[name][
|
|
158
|
+
filename: 'fonts/[name][ext][query]',
|
|
181
159
|
},
|
|
182
160
|
},
|
|
183
161
|
],
|