Skip to content

Commit

Permalink
Upgrade to Babel 7
Browse files Browse the repository at this point in the history
  • Loading branch information
dangreen committed Nov 20, 2018
1 parent dde6a9e commit 93e1ba6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

### Usage

Just lift your app as normal, and enjoy the future of Javascript today. To see what is possible, see: https://babeljs.io/docs/learn-es6/
Just lift your app as normal, and enjoy the future of Javascript today. To see what is possible, see: https://babeljs.io/docs/en/learn

### Configuration

Expand All @@ -20,7 +20,7 @@ By default, configuration lives in `sails.config.babel`. The configuration key
Parameter | Type | Details
-------------- | ------------------- |:---------------------------------
compile | ((boolean)) | Whether or not sails should compile future JS code. Defaults to `true`.
polyfill | ((boolean)) | Whether or not use `babel-polyfill`. Defaults to `false`.
polyfill | ((boolean)) | Whether or not use `@babel/polyfill`. Defaults to `false`.
presets | ((array)) | Which presets to transpile your code with. Defaults to [@babel/preset-env](https://babeljs.io/docs/en/babel-preset-env/).

Also you can use [other Babel 7 options](https://babeljs.io/docs/en/options).
Expand Down

0 comments on commit 93e1ba6

Please sign in to comment.