Skip to content

Commit

Permalink
chore(apps/staking): Transpile ethers library
Browse files Browse the repository at this point in the history
  • Loading branch information
nevendyulgerov committed Jul 19, 2023
1 parent b67bfe1 commit a5d9525
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion apps/staking/.storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ module.exports = {
return (
/node_modules/.test(filename) &&
!/@chakra-ui/.test(filename) &&
!/@zag-js/.test(filename)
!/@zag-js/.test(filename) &&
!/ethers/.test(filename)
);
},
}
Expand Down Expand Up @@ -75,4 +76,8 @@ module.exports = {
},
};
},
babel: async (options) => ({
...options,
plugins: [['@babel/plugin-proposal-class-properties', { loose: true }]],
}),
};
1 change: 1 addition & 0 deletions apps/staking/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
"devDependencies": {
"@babel/core": "^7.15.5",
"@babel/plugin-proposal-private-methods": "^7.18.6",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@storybook/addon-actions": "^6.4.10",
"@storybook/addon-essentials": "^6.4.10",
"@storybook/addon-links": "^6.4.10",
Expand Down

0 comments on commit a5d9525

Please sign in to comment.