Fix Storybook by transforming TypeScript earlier
This commit is contained in:
parent
bd89956029
commit
70ae5bb613
3 changed files with 3 additions and 1 deletions
|
@ -8,6 +8,7 @@ module.exports = {
|
|||
plugins: [
|
||||
'react-hot-loader/babel',
|
||||
'lodash',
|
||||
'@babel/plugin-transform-typescript',
|
||||
'@babel/plugin-proposal-class-properties',
|
||||
'@babel/plugin-proposal-optional-chaining',
|
||||
'@babel/plugin-proposal-nullish-coalescing-operator',
|
||||
|
|
|
@ -182,6 +182,7 @@
|
|||
"@babel/plugin-proposal-nullish-coalescing-operator": "7.14.5",
|
||||
"@babel/plugin-proposal-optional-chaining": "7.13.8",
|
||||
"@babel/plugin-transform-runtime": "7.8.3",
|
||||
"@babel/plugin-transform-typescript": "7.16.1",
|
||||
"@babel/preset-react": "7.7.4",
|
||||
"@babel/preset-typescript": "7.16.0",
|
||||
"@chanzuckerberg/axe-storybook-testing": "3.0.2",
|
||||
|
|
|
@ -783,7 +783,7 @@
|
|||
dependencies:
|
||||
"@babel/helper-plugin-utils" "^7.0.0"
|
||||
|
||||
"@babel/plugin-transform-typescript@^7.16.0", "@babel/plugin-transform-typescript@^7.3.2":
|
||||
"@babel/plugin-transform-typescript@7.16.1", "@babel/plugin-transform-typescript@^7.16.0", "@babel/plugin-transform-typescript@^7.3.2":
|
||||
version "7.16.1"
|
||||
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.16.1.tgz#cc0670b2822b0338355bc1b3d2246a42b8166409"
|
||||
integrity sha512-NO4XoryBng06jjw/qWEU2LhcLJr1tWkhpMam/H4eas/CDKMX/b2/Ylb6EI256Y7+FVPCawwSM1rrJNOpDiz+Lg==
|
||||
|
|
Loading…
Reference in a new issue