Skip to content

Commit 93e1ba6

Browse files
committed
Upgrade to Babel 7
1 parent dde6a9e commit 93e1ba6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
### Usage
1313

14-
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/
14+
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
1515

1616
### Configuration
1717

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

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

0 commit comments

Comments
 (0)