Skip to content

Commit

Permalink
Chore: update dependencies and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
katspaugh committed Aug 24, 2023
1 parent 24e28e8 commit 6b87b78
Show file tree
Hide file tree
Showing 4 changed files with 2,854 additions and 2,580 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <img src="/public/images/logo.svg" height="60" valign="middle" alt="Safe{Wallet}" />
# <img src="/public/images/logo.svg" height="60" valign="middle" alt="Safe{Wallet}" style="background: #fff; padding: 20px; margin: 0 -20px" />

[![License](https://img.shields.io/github/license/safe-global/safe-wallet-web)](https://github.com/safe-global/safe-wallet-web/blob/main/LICENSE)
![Tests](https://img.shields.io/github/actions/workflow/status/safe-global/safe-wallet-web/test.yml?branch=main&label=tests)
Expand Down
34 changes: 13 additions & 21 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -22,28 +22,20 @@ const nextConfig = {
images: {
unoptimized: true,
},
modularizeImports: {
'@mui/material': {
transform: '@mui/material/{{member}}',
},
'@mui/icons-material/?(((\\w*)?/?)*)': {
transform: '@mui/icons-material/{{ matches.[1] }}/{{member}}',
},
lodash: {
transform: 'lodash/{{member}}',
},
'date-fns': {
transform: 'date-fns/{{member}}',
},
},
},
async rewrites() {
return [
{
source: '/:safe([a-z0-9-]+\\:0x[a-fA-F0-9]{40})/:path*',
destination: '/:path*?safe=:safe',
},
]
modularizeImports: {
'@mui/material': {
transform: '@mui/material/{{member}}',
},
'@mui/icons-material/?(((\\w*)?/?)*)': {
transform: '@mui/icons-material/{{ matches.[1] }}/{{member}}',
},
lodash: {
transform: 'lodash/{{member}}',
},
'date-fns': {
transform: 'date-fns/{{member}}',
},
},
webpack(config) {
config.module.rules.push({
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@
"resolutions": {
"@web3-onboard/trezor/**/protobufjs": "^7.2.4"
},
"engines": {
"node": ">=18"
},
"dependencies": {
"@date-io/date-fns": "^2.15.0",
"@emotion/cache": "^11.10.1",
Expand Down
Loading

0 comments on commit 6b87b78

Please sign in to comment.