Skip to content

Commit

Permalink
chore: Add new configs and mapping on storybook main config file.
Browse files Browse the repository at this point in the history
  • Loading branch information
brunomenezes committed Jan 14, 2025
1 parent 958f39c commit 45e8194
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions apps/staking/.storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module.exports = {
refs: {
'@explorer/ui': {
title: 'Explorer UI',
url: 'http://localhost:6007',
url: 'http://127.0.0.1:6007',
},
},
staticDirs: ['../public'],
Expand All @@ -28,6 +28,9 @@ module.exports = {
'../src/**/*.stories.mdx',
'../src/**/*.stories.@(js|jsx|ts|tsx)',
],
typescript: {
reactDocgen: 'react-docgen-typescript-plugin',
},
addons: [
'storybook-addon-apollo-client',
'storybook-addon-performance/register',
Expand All @@ -48,7 +51,13 @@ module.exports = {
!/ethers/.test(filename) &&
!/@walletconnect/.test(filename) &&
!/@web3modal/.test(filename) &&
!/valtio\/vanilla/.test(filename)
!/valtio\/vanilla/.test(filename) &&
!/@safe-global/.test(filename) &&
!/viem/.test(filename) &&
!/@web3-onboard/.test(filename) &&
!/abitype/.test(filename) &&
!/unstorage/.test(filename) &&
!/ox/.test(filename)
);
},
}
Expand Down

0 comments on commit 45e8194

Please sign in to comment.