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

Add ES6/ES20xx transpiling for live production frontend builds #6

Open
3 of 4 tasks
flaki opened this issue Feb 16, 2016 · 0 comments
Open
3 of 4 tasks

Add ES6/ES20xx transpiling for live production frontend builds #6

flaki opened this issue Feb 16, 2016 · 0 comments

Comments

@flaki
Copy link
Owner

flaki commented Feb 16, 2016

ES20xx support is still a hit-or-miss among browsers. This is not a problem for controlled environments, like the backend (with a pre-set version of node.js and ES20xx support), or development-time frontend (where we can eg. say "just use Firefox Nightly").

On live production, most of the drawbacks of transpiling doesn't apply (like source readability and debugging concerns), so this is a pure win for things like #5 (iOS support).

  • ES5 transpiling build support (via Babel)
  • Additional polyfills (e.g. Fetch API)
  • Automatically include polyfills
  • Automatic use of dist package in production builds
    (use the --dist commandline parameter or npm run start:prod)
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