You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 18, 2024. It is now read-only.
I would like to use this package in Storybook. In my PR here, I've temporarily copied the code in order to make a progress.
The problem is that Sotrybook has a peer of bable-loader in order to allow people still to use babel 6.
That means, we can't be dependant on a package that is directly dependant on @babel/core.
So I've created a babel-core-proxy that does something like this:
Hey,
I would like to use this package in Storybook. In my PR here, I've temporarily copied the code in order to make a progress.
The problem is that Sotrybook has a peer of
bable-loaderin order to allow people still to use babel 6.That means, we can't be dependant on a package that is directly dependant on
@babel/core.So I've created a
babel-core-proxythat does something like this:And then used it in the
babel-mergecode:Will you consider this change as a pull request ?
The downside of this approach is that
babel-coreand@babel/corecan't be in a list of peerDeps, but it's something that can be documented 🤷♂️Thanks.