# Deploying ES2015+ Code in Production Today

DevFeed: [Deploying ES2015+ Code in Production Today](<https://devfeed.tech/articles/deploying-es2015-code-in-production-today-29497.md>)

Original publisher: [Read original article](<https://philipwalton.com/articles/deploying-es2015-code-in-production-today/>)

Published: 2017-09-13T19:23:12Z

Content type: tutorial

Language: en

Sources: [Philip Walton](<https://devfeed.tech/sources/philip-walton.md>)

Topics: [JavaScript](<https://devfeed.tech/topics/javascript.md>), [es2015](<https://devfeed.tech/topics/es2015.md>), [browsers](<https://devfeed.tech/topics/browsers.md>), [Babel](<https://devfeed.tech/topics/babel.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>)

Tags: [apis](<https://devfeed.tech/tags/apis.md>), [async](<https://devfeed.tech/tags/async.md>), [await](<https://devfeed.tech/tags/await.md>), [babel](<https://devfeed.tech/tags/babel.md>), [browsers](<https://devfeed.tech/tags/browsers.md>), [classes](<https://devfeed.tech/tags/classes.md>), [es2015](<https://devfeed.tech/tags/es2015.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [webpack](<https://devfeed.tech/tags/webpack.md>)

## AI overview

The article explains how to deploy ES2015+ JavaScript to production by serving a modern bundle to browsers that support the relevant syntax and retaining an ES5 fallback for older browsers. It discusses feature detection, polyfills, module bundlers, and Babel configuration.

## Source excerpt

Most web developers I talk to these days love writing JavaScript with all the newest language features--async/await, classes, arrow functions, etc. However, despite the fact that all modern browsers can run ES2015+ code and natively support the features I just mentioned, most developers still transpile their code to ES5 and bundle it with polyfills to accommodate the small percentage of users still on older browsers.