mirror of https://github.com/langgenius/dify.git
build: bring back babel-loader, add build check (#30427)
This commit is contained in:
parent
3015e9be73
commit
184077c37c
|
|
@ -115,6 +115,11 @@ jobs:
|
|||
working-directory: ./web
|
||||
run: pnpm run knip
|
||||
|
||||
- name: Web build check
|
||||
if: steps.changed-files.outputs.any_changed == 'true'
|
||||
working-directory: ./web
|
||||
run: pnpm run build
|
||||
|
||||
superlinter:
|
||||
name: SuperLinter
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
|
|
@ -15,6 +15,10 @@ const config: KnipConfig = {
|
|||
ignoreBinaries: [
|
||||
'only-allow',
|
||||
],
|
||||
ignoreDependencies: [
|
||||
// required by next-pwa
|
||||
'babel-loader',
|
||||
],
|
||||
rules: {
|
||||
files: 'warn',
|
||||
dependencies: 'warn',
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -481,6 +481,9 @@ importers:
|
|||
autoprefixer:
|
||||
specifier: ^10.4.21
|
||||
version: 10.4.22(postcss@8.5.6)
|
||||
babel-loader:
|
||||
specifier: ^10.0.0
|
||||
version: 10.0.0(@babel/core@7.28.5)(webpack@5.103.0(esbuild@0.25.0)(uglify-js@3.19.3))
|
||||
bing-translate-api:
|
||||
specifier: ^4.1.0
|
||||
version: 4.2.0
|
||||
|
|
@ -4265,6 +4268,13 @@ packages:
|
|||
peerDependencies:
|
||||
postcss: ^8.1.0
|
||||
|
||||
babel-loader@10.0.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'
|
||||
|
||||
babel-loader@8.4.1:
|
||||
resolution: {integrity: sha512-nXzRChX+Z1GoE6yWavBQg6jDslyFF3SDjl2paADuoQtQW10JqShJt62R6eJQ5m/pjJFDT8xgKIWSP85OY8eXeA==}
|
||||
engines: {node: '>= 8.9'}
|
||||
|
|
@ -13080,6 +13090,12 @@ snapshots:
|
|||
postcss: 8.5.6
|
||||
postcss-value-parser: 4.2.0
|
||||
|
||||
babel-loader@10.0.0(@babel/core@7.28.5)(webpack@5.103.0(esbuild@0.25.0)(uglify-js@3.19.3)):
|
||||
dependencies:
|
||||
'@babel/core': 7.28.5
|
||||
find-up: 5.0.0
|
||||
webpack: 5.103.0(esbuild@0.25.0)(uglify-js@3.19.3)
|
||||
|
||||
babel-loader@8.4.1(@babel/core@7.28.5)(webpack@5.103.0(esbuild@0.25.0)(uglify-js@3.19.3)):
|
||||
dependencies:
|
||||
'@babel/core': 7.28.5
|
||||
|
|
|
|||
Loading…
Reference in New Issue