mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 16:11:33 +08:00
`regenerator-runtime` is used as polyfill to backport async/await and generator to old browser (like core-js). Any package that use async/await or generator will require `regenerator-runtime` at runtime without any import in the source (it's added by babel during transpilation). To avoid any issue in the future `regenerator-runtime` is added to almost all packages, as it has been done for `core-js` What I did? - Add it when it was missing - Move it from peerDep to dep when needed - Use the same, and latest, version for all packages