You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 4, 2021. It is now read-only.
Currently the asyncGenerator babel helper function is always included in the bundle, it does not get tree-shaken out, I guess because it's hard to detect the initialization does not have side effects. It could be worked around by enabling users to whitelist only specific helpers. It could even be made automatic later.
babel-core: v6.17.0
rollup-plugin-babel: v2.6.1
The text was updated successfully, but these errors were encountered:
The babel-core function
buildExternalHelpers
supports awhitelist
option (see https://github.com/babel/babel/blob/master/packages/babel-core/src/tools/build-external-helpers.js#L86), which is currently not used in this plugin (see https://github.com/rollup/rollup-plugin-babel/blob/master/src/index.js#L40).Currently the
asyncGenerator
babel helper function is always included in the bundle, it does not get tree-shaken out, I guess because it's hard to detect the initialization does not have side effects. It could be worked around by enabling users to whitelist only specific helpers. It could even be made automatic later.The text was updated successfully, but these errors were encountered: