mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-25 15:40:06 +03:00
Fix storybook build
Storybook loads the babel.config.json but not .babelrc.json. We actually don't want to load the babel config because it uses @babel/runtime which can't be resolved with Yarn PnP.
This commit is contained in:
parent
d25f878a29
commit
a7a8c2a6ea
|
@ -24,8 +24,8 @@
|
|||
"scripts": {
|
||||
"start": "yarn run storybook",
|
||||
"storybook": "start-storybook -p 6006 -s ./fonts",
|
||||
"build-storybook": "build-storybook -s ./fonts",
|
||||
"build": "yarn run build:lib && yarn run build-storybook",
|
||||
"build:storybook": "build-storybook -s ./fonts",
|
||||
"build": "yarn run build:lib && yarn run build:storybook",
|
||||
"build:lib": "yarn build:cjs && yarn build:esm && yarn build:types && yarn build:css",
|
||||
"build:cjs": "babel src --extensions \".ts,.tsx\" --out-dir lib/cjs",
|
||||
"build:esm": "babel src --config-file ./babel.config.esm.json --extensions \".ts,.tsx\" --out-dir lib/esm",
|
||||
|
|
Loading…
Reference in New Issue
Block a user