Merge pull request #139 from harvester/mergify/bp/release-harvester-v1.5/pr-138

fix: Harvester ui extension not working built from CI (backport #138)
This commit is contained in:
Andy Lee 2025-02-17 12:13:35 +08:00 committed by GitHub
commit 28603d3ab3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 12 additions and 2 deletions

View File

@ -12,7 +12,8 @@
"ip": "2.0.1", "ip": "2.0.1",
"node-polyfill-webpack-plugin": "^3.0.0", "node-polyfill-webpack-plugin": "^3.0.0",
"vue-draggable-next": "^2.2.1", "vue-draggable-next": "^2.2.1",
"yaml": "^2.5.1" "yaml": "^2.5.1",
"@babel/plugin-transform-class-static-block": "7.26.0"
}, },
"resolutions": { "resolutions": {
"@types/node": "~20.10.0", "@types/node": "~20.10.0",

View File

@ -1 +1,9 @@
module.exports = require('@rancher/shell/pkg/babel.config'); const baseConfig = require('@rancher/shell/pkg/babel.config');
module.exports = {
...baseConfig,
plugins: [
...(baseConfig.plugins || []),
'@babel/plugin-transform-class-static-block'
]
};

View File

@ -8,6 +8,7 @@
"importHelpers": true, "importHelpers": true,
"moduleResolution": "node", "moduleResolution": "node",
"skipLibCheck": true, "skipLibCheck": true,
"useDefineForClassFields": false,
"esModuleInterop": true, "esModuleInterop": true,
"allowSyntheticDefaultImports": true, "allowSyntheticDefaultImports": true,
"sourceMap": true, "sourceMap": true,