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.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
build: bring back babel-loader, add build check (#30427)
Stephen Zhou184077c37c7d
diff --git a/.github/workflows/style.yml b/.github/workflows/style.ymlindex 39b559f4cae..462ece303e9 100644--- a/.github/workflows/style.yml+++ b/.github/workflows/style.yml@@ -115,6 +115,11 @@ jobs:working-directory: ./webrun: pnpm run knip+ - name: Web build check+ if: steps.changed-files.outputs.any_changed == 'true'+ working-directory: ./web+ run: pnpm run build+superlinter:name: SuperLinterruns-on: ubuntu-latestdiff --git a/web/knip.config.ts b/web/knip.config.tsindex 414b00fb7fa..6ffda0316ae 100644--- a/web/knip.config.ts+++ b/web/knip.config.ts@@ -15,6 +15,10 @@ const config: KnipConfig = {ignoreBinaries: ['only-allow',],+ ignoreDependencies: [+ // required by next-pwa+ 'babel-loader',+ ],rules: {files: 'warn',dependencies: 'warn',diff --git a/web/package.json b/web/package.jsonindex 0c6821ce863..7ee2325dbc3 100644--- a/web/package.json+++ b/web/package.json@@ -190,6 +190,7 @@"@vitejs/plugin-react": "^5.1.2","@vitest/coverage-v8": "4.0.16","autoprefixer": "^10.4.21",+ "babel-loader": "^10.0.0","bing-translate-api": "^4.1.0","code-inspector-plugin": "1.2.9","cross-env": "^10.1.0",diff --git a/web/pnpm-lock.yaml b/web/pnpm-lock.yamlindex 373e2e4020d..cdd194da375 100644--- a/web/pnpm-lock.yaml+++ b/web/pnpm-lock.yaml@@ -481,6 +481,9 @@ importers:autoprefixer:specifier: ^10.4.21version: 10.4.22([email protected])+ babel-loader:+ specifier: ^10.0.0+ version: 10.0.0(@babel/[email protected])([email protected]([email protected])([email protected]))bing-translate-api:specifier: ^4.1.0version: 4.2.0@@ -4265,6 +4268,13 @@ packages:peerDependencies:postcss: ^8.1.0+ resolution: {integrity: sha512-z8jt+EdS61AMw22nSfoNJAZ0vrtmhPRVi6ghL3rCeRZI8cdNYFiV5xeV3HbE7rlZZNmGH8BVccwWt8/ED0QOHA==}+ engines: {node: ^18.20.0 || ^20.10.0 || >=22.0.0}+ peerDependencies:+ '@babel/core': ^7.12.0+ webpack: '>=5.61.0'+resolution: {integrity: sha512-nXzRChX+Z1GoE6yWavBQg6jDslyFF3SDjl2paADuoQtQW10JqShJt62R6eJQ5m/pjJFDT8xgKIWSP85OY8eXeA==}engines: {node: '>= 8.9'}@@ -13080,6 +13090,12 @@ snapshots:postcss: 8.5.6postcss-value-parser: 4.2.0+ [email protected](@babel/[email protected])([email protected]([email protected])([email protected])):+ dependencies:+ '@babel/core': 7.28.5+ find-up: 5.0.0+ webpack: 5.103.0([email protected])([email protected])+[email protected](@babel/[email protected])([email protected]([email protected])([email protected])):dependencies:'@babel/core': 7.28.5