Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Build: Only transpile JS which is not supported based on chrome version #6367

Closed
gyandeeps opened this issue Dec 21, 2016 · 0 comments
Closed

Comments

@gyandeeps
Copy link
Contributor

Did you search for similar issues before submitting this one?
n/a
Describe the issue you encountered:

Currently, we transpile all the JavaScript to ES5 code. But I think we can be smart by using https://github.com/babel/babel-preset-env to only tranpile code which is not supported by a particular version of chrome (I guess we can say 54 now).

Expected behavior:

This will help us to run most of the code we write as it is. Chrome as better perfs on certain ES6 features i guess.

  • Platform (Win7, 8, 10? macOS? Linux distro?):
    all
  • Brave Version (revision SHA):
    master
@bbondy bbondy closed this as completed in 19b5f7c Jan 8, 2017
bbondy added a commit that referenced this issue Jan 8, 2017
Build: Make babel tranpile smarter by using chrome version (fixes #6367)
@luixxiul luixxiul added this to the 0.13.0 milestone Jan 8, 2017
bkilrain pushed a commit to bkilrain/browser-laptop that referenced this issue Jan 13, 2017
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