@opensumi/ide-dev-tool 3.6.5-next-1734949468.0 → 3.6.5-next-1735177632.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 -2
- package/src/webpack.js +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opensumi/ide-dev-tool",
|
|
3
|
-
"version": "3.6.5-next-
|
|
3
|
+
"version": "3.6.5-next-1735177632.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git@github.com:opensumi/core.git"
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"webpack-cli": "^5.1.4",
|
|
39
39
|
"webpack-merge": "^5.10.0"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "1a08936dc3c58fd350fb292b91adedbcf4bb3061"
|
|
42
42
|
}
|
package/src/webpack.js
CHANGED
|
@@ -12,7 +12,7 @@ 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
|
|
15
|
+
const notebookModulePath = path.join(__dirname, '../../../packages/notebook');
|
|
16
16
|
const HOST = process.env.HOST || '0.0.0.0';
|
|
17
17
|
const IDE_FRONT_PORT = process.env.IDE_FRONT_PORT || 8080;
|
|
18
18
|
|
|
@@ -80,7 +80,7 @@ exports.createWebpackConfig = function (dir, entry, extraConfig) {
|
|
|
80
80
|
rules: [
|
|
81
81
|
{
|
|
82
82
|
test: /\.tsx?$/,
|
|
83
|
-
include:
|
|
83
|
+
include: notebookModulePath,
|
|
84
84
|
use: [
|
|
85
85
|
{
|
|
86
86
|
loader: 'ts-loader',
|
|
@@ -99,7 +99,7 @@ exports.createWebpackConfig = function (dir, entry, extraConfig) {
|
|
|
99
99
|
},
|
|
100
100
|
{
|
|
101
101
|
test: /\.tsx?$/,
|
|
102
|
-
exclude:
|
|
102
|
+
exclude: [notebookModulePath],
|
|
103
103
|
use: [
|
|
104
104
|
{
|
|
105
105
|
loader: 'ts-loader',
|