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 Jun 29, 2018. It is now read-only.
Someone might want to use babel-standalone only for JSX transformation (for example), and not want to use any of the other Babel stuff. For this use-case, bundling every standard plugin and preset with babel-standalone is overkill. Instead, there could be a babel-standalone core JS file that only contains the core of Babel, and a preset-react file that contains just the React preset.
Investigate how much space is saved by building Babel with no plugins, and whether it's actually worth it. Perhaps most of the space is taken by the core of Babel, which would mean this is actually not worth doing.
The text was updated successfully, but these errors were encountered:
Someone might want to use babel-standalone only for JSX transformation (for example), and not want to use any of the other Babel stuff. For this use-case, bundling every standard plugin and preset with babel-standalone is overkill. Instead, there could be a babel-standalone core JS file that only contains the core of Babel, and a preset-react file that contains just the React preset.
Investigate how much space is saved by building Babel with no plugins, and whether it's actually worth it. Perhaps most of the space is taken by the core of Babel, which would mean this is actually not worth doing.
The text was updated successfully, but these errors were encountered: