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

Add option for babelHelpers to be runtime instead of bundled #207

Closed
lachiet opened this issue Jun 2, 2023 · 2 comments
Closed

Add option for babelHelpers to be runtime instead of bundled #207

lachiet opened this issue Jun 2, 2023 · 2 comments

Comments

@lachiet
Copy link

lachiet commented Jun 2, 2023

Currently the babelHelpers option is defined to "bundled" which inlines the babelHelpers for every entry point: https://github.com/milesj/packemon/blob/master/packages/packemon/src/rollup/config.ts#L206. Not every project should need the babelHelpers if they're already included in the project the package is being imported into.

Can we add a config option or guide on how to override this value?

@milesj
Copy link
Owner

milesj commented Jun 21, 2023

I started working on this here: #211

But I can't seem to get the snapshots to reflect the helper changes, and I can't figure out why...

@milesj
Copy link
Owner

milesj commented Jun 22, 2023

Added in 3.2.0.

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

2 participants