Skip to content

Commit

Permalink
[ksc-release-4.1] fix: Fix react/jsx-runtime error (kubesphere#4312)
Browse files Browse the repository at this point in the history
* fix: Fix react/jsx-runtime error

* chore: update @kubed/components version

---------

Co-authored-by: 古月 <[email protected]>
  • Loading branch information
ks-ci-bot and yazhouio authored Jul 17, 2024
1 parent 1b4d831 commit d113093
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"dependencies": {
"@kubed/charts": "^0.0.22",
"@kubed/code-editor": "^0.0.27",
"@kubed/components": "^0.2.8",
"@kubed/components": "^0.2.10",
"@kubed/diff-viewer": "^0.0.23",
"@kubed/hooks": "^0.0.18",
"@kubed/icons": "^0.0.20",
Expand Down
2 changes: 2 additions & 0 deletions packages/bootstrap/webpack/webpack.base.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ const webpackBaseConfig = merge(configs, {
modules: [resolve('extensions'), resolve('packages'), 'node_modules'],
alias: {
'styled-components': resolve('node_modules/styled-components'),
'react/jsx-runtime': 'react/jsx-runtime.js',
'react/jsx-dev-runtime': 'react/jsx-dev-runtime.js',
},
fallback: { path: require.resolve('path-browserify') },
},
Expand Down

0 comments on commit d113093

Please sign in to comment.