Skip to content
This repository has been archived by the owner on Aug 4, 2021. It is now read-only.

Use babel-runtime instead of external-helpers [feature/question] #17

Closed
chpio opened this issue Dec 18, 2015 · 2 comments
Closed

Use babel-runtime instead of external-helpers [feature/question] #17

chpio opened this issue Dec 18, 2015 · 2 comments

Comments

@chpio
Copy link

chpio commented Dec 18, 2015

hi,

when i use this plugin (babel-plugin-transform-runtime enabled) i get a file with external helpers _and_ runtime imports. Is there an option to disable this behavior (only use runtime) as i don't need the doubled amount of helpers in my code... :)

@chpio chpio changed the title Use babel-runtime instead of external-helpers [feature] Use babel-runtime instead of external-helpers [feature/question] Dec 18, 2015
Rich-Harris added a commit that referenced this issue Dec 29, 2015
Victorystick added a commit that referenced this issue Dec 29, 2015
Better handling of helpers
@Rich-Harris
Copy link
Contributor

This works as of 2.3.0 – just add the runtimeHelpers: true option when you initialise rollup-plugin-babel, and it will use runtime helpers instead of putting them at the top of the bundle.

@chpio
Copy link
Author

chpio commented Dec 30, 2015

wow, thank you 👍

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

No branches or pull requests

2 participants