Skip to content
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

[babel-plugin] - babelHelpers, what is the difference between runtime and bundled? #1076

Closed
1 of 4 tasks
advename opened this issue Dec 30, 2021 · 1 comment
Closed
1 of 4 tasks

Comments

@advename
Copy link

  • Rollup Plugin Name: babel-plugin
  • Rollup Plugin Version: latest

Documentation Is:
https://github.com/rollup/plugins/tree/master/packages/babel#babelhelpers

  • Missing
  • Needed
  • Confusing
  • Not Sure?

Please Explain in Detail...

The documentation about babelHelpers says to use 'runtime' for libraries - but what I'm missing to understand here is what the difference between "runtime" and "bundled" are and why the first one is recommended for libraries?

My assumptions are that "runtime" is great for libraries in a Node environment. However, what about libraries (e.g. react component library) that can be included directly in a browser? Wouldn't it make more sense here to use bundled then?

@stale stale bot added the x⁷ ⋅ stale label Mar 6, 2022
@stale
Copy link

stale bot commented Mar 12, 2022

Hey folks. This issue hasn't received any traction for 60 days, so we're going to close this for housekeeping. If this is still an ongoing issue, please do consider contributing a Pull Request to resolve it. Further discussion is always welcome even with the issue closed. If anything actionable is posted in the comments, we'll consider reopening it.

@stale stale bot closed this as completed Mar 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant