8000 @babel/runtime devDepdency · Issue #64 · uiwjs/react-json-view · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

@babel/runtime devDepdency #64

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
mschipperheyn opened this issue Jan 6, 2025 · 2 comments
Open

@babel/runtime devDepdency #64

mschipperheyn opened this issue Jan 6, 2025 · 2 comments

Comments

@mschipperheyn
Copy link

Do we really need @babel/runtime as a peerDependency? Shouldn't this be a devDependency?

This is creating problems for us in yarn 4.6.0, which is MUCH stricter with dependencies.

@jaywcjlove
Copy link
Member

@mschipperheyn The compiled code depends on @babel/runtime, which is primarily used to avoid generating redundant helper code during Babel transpilation and to provide the helper functions required for transpiling.

@rcostavoloridge
Copy link

@babel/runtime/helpers/extends

This break the package when used with https://esm.sh
This basically creates a dependency in your code :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
0