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
babelHelpers set to inline? #1
Comments
Hi, thank you so much for finding that! It definitely needs to be changed, I'll give it a try. |
So I've been messing around as well, which is how I came across your post. This Stackblitz could help to rapidly test different setups: |
I think the setup there is actually what you want. Still researching though, there are a lot of properties and sometimes the description is difficult to understand. |
thank you once again for creating the issue and linking the example, for now, I went with the default config there after looking at https://babeljs.io/docs/en/babel-plugin-transform-runtime. tested with a few builds and seems like it's working fine. |
Great. I think the setup you have is correct. I still am having an issue with the additional babel runtime as a dependency of the package. Maybe a lot library authors are doing it and I never see or noticed it, just something isn't making sense... |
Curious to know why you set babelHelpers
inline
?The docs recommend
runtime
and explicitly say not to useinline
.https://github.com/rollup/plugins/tree/master/packages/babel#babelhelpers
The text was updated successfully, but these errors were encountered: