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

Make loading of Babel configurable #166

Closed
Daniel15 opened this issue Oct 11, 2015 · 0 comments
Closed

Make loading of Babel configurable #166

Daniel15 opened this issue Oct 11, 2015 · 0 comments
Milestone

Comments

@Daniel15
Copy link
Member

Babel is pretty large (~2 MB). If the user has already transformed their JS (eg. through Browserify or Webpack) and only uses AddScriptWithoutTransform, we don't need to load Babel at all

  • Add config option (eg. LoadBabel or something)
  • If AddScript is called but LoadBabel config option is disabled, throw exception explaining that it won't work
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant