Skip to content

Commit

Permalink
Merge branch 'develop' into update-ckb-client-versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Keith-CY authored Nov 20, 2024
2 parents a992291 + 9eca439 commit d48f3c3
Show file tree
Hide file tree
Showing 3 changed files with 221 additions and 277 deletions.
14 changes: 14 additions & 0 deletions packages/neuron-ui/config-overrides.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,19 @@ module.exports = function override(config) {
crypto: false,
buffer: false,
}
/* disable autoprefixer */
webpackConfig.module.rules
.find(r => r.oneOf)
.oneOf.forEach(rule => {
if (rule.use) {
rule.use.forEach(loader => {
if (loader.options && loader.options.postcssOptions) {
loader.options.postcssOptions.plugins = loader.options.postcssOptions.plugins.filter(
plugin => !plugin.toString().includes('autoprefixer')
)
}
})
}
})
return webpackConfig
}
5 changes: 1 addition & 4 deletions packages/neuron-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@
"jest": {
"displayName": "UI Tests"
},
"browserslist": [
"last 2 chrome versions"
],
"dependencies": {
"@ckb-lumos/lumos": "0.23.0",
"@ckb-lumos/bi": "0.23.0",
Expand Down Expand Up @@ -108,7 +105,7 @@
"react-test-renderer": "18.2.0",
"storybook": "7.6.6",
"storybook-addon-react-router-v6": "2.0.10",
"webpack": "5.89.0"
"webpack": "5.94.0"
},
"resolutions": {
"react-i18next": "14.0.0"
Expand Down
Loading

1 comment on commit d48f3c3

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Packaging for test is done in 11929612112

Please sign in to comment.