Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

add back babel/core (#26489)

Asuka Minatoc4884eb669ad
diff --git a/web/package.json b/web/package.json
index 2107aae6bcf..4433d866d8e 100644
--- a/web/package.json
+++ b/web/package.json
@@ -161,6 +161,7 @@
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.8.0",
"@testing-library/react": "^16.0.1",
+ "@babel/core": "^7.28.3",
"@types/dagre": "^0.7.52",
"@types/jest": "^29.5.13",
"@types/js-cookie": "^3.0.6",
@@ -199,7 +200,8 @@
"storybook": "8.5.0",
"tailwindcss": "^3.4.14",
"typescript": "^5.8.3",
- "uglify-js": "^3.19.3"
+ "uglify-js": "^3.19.3",
+ "babel-loader": "^9.2.1"
},
"resolutions": {
"@types/react": "19.1.11",
diff --git a/web/pnpm-lock.yaml b/web/pnpm-lock.yaml
index 9112473adf0..8c2e869c91e 100644
--- a/web/pnpm-lock.yaml
+++ b/web/pnpm-lock.yaml
@@ -338,6 +338,9 @@ importers:
'@antfu/eslint-config':
specifier: ^5.0.0
+ '@babel/core':
+ specifier: ^7.28.3
+ version: 7.28.3
'@chromatic-com/storybook':
specifier: ^3.1.0
@@ -446,6 +449,9 @@ importers:
autoprefixer:
specifier: ^10.4.20
version: 10.4.21([email protected])
+ babel-loader:
+ specifier: ^9.2.1
bing-translate-api:
specifier: ^4.0.2
version: 4.1.0
@@ -8787,12 +8793,12 @@ snapshots:
'@babel/helper-compilation-targets': 7.27.2
'@babel/helper-module-transforms': 7.28.3(@babel/[email protected])
'@babel/helpers': 7.28.3
- '@babel/parser': 7.28.3
+ '@babel/parser': 7.28.4
'@babel/template': 7.27.2
'@babel/traverse': 7.28.3
- '@babel/types': 7.28.2
+ '@babel/types': 7.28.4
convert-source-map: 2.0.0
- debug: 4.4.1
+ debug: 4.4.3
gensync: 1.0.0-beta.2
json5: 2.2.3
semver: 6.3.1
@@ -8953,7 +8959,7 @@ snapshots:
dependencies:
'@babel/template': 7.27.2
- '@babel/types': 7.28.2
+ '@babel/types': 7.28.4
dependencies: