Skip to content

Commit

Permalink
Add code snippet for enabling polyfill (#118)
Browse files Browse the repository at this point in the history
* Add code snippet for enabling polyfill

* Change babel config to correct key value
  • Loading branch information
Li Xinyang authored and rwjblue committed Mar 14, 2017
1 parent e667a0e commit d40c011
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,16 @@ features that require the polyfill to work.

To include it in your app, pass `includePolyfill: true` in your `ember-cli-babel` options.

```js
// ember-cli-build.js

var app = new EmberApp(defaults, {
'ember-cli-babel': {
includePolyfill: true
}
});
```

### Features

Out of the box without a polyfill the following ES6 features are enabled:
Expand Down

0 comments on commit d40c011

Please sign in to comment.