Describe the bugUncaught TypeError: _typeof3 is not a function when build static files of storybook and try to execute them
To Reproduce
Steps to reproduce the behavior:
Write stories for React/TS app, test them with yarn run storybook and have no problems
1.yarn build-storybook ("build-storybook": "build-storybook -c .storybook -o dir-name" or "build-storybook": "build-storybook")
go to directory with built files
open index.html in browser or start a server (npx http-server dir-name)
See empty storybook page stuck on loading and error in the console
Expected behavior
Storybook with my React components to run without errors, just like when I do yarn storybook
What tried to do to fix:
delete all the stories files and try build again(got the exact same error)
delete node_modules, lock file and cache and reinstall dependencies
Describe the bug
Uncaught TypeError: _typeof3 is not a function
when build static files of storybook and try to execute themTo Reproduce Steps to reproduce the behavior:
yarn run storybook
and have no problems 1.yarn build-storybook
("build-storybook": "build-storybook -c .storybook -o dir-name" or "build-storybook": "build-storybook")npx http-server dir-name
)Expected behavior Storybook with my React components to run without errors, just like when I do
yarn storybook
What tried to do to fix: delete all the stories files and try build again(got the exact same error) delete node_modules, lock file and cache and reinstall dependencies
Screenshots
Code snippets package.json
System: Macbook pro 2019 Mac OS 10.15.11