note about .ts extension in the preset [skip ci] (#6365)

This commit is contained in:
Henry Zhu
2017-10-02 17:42:56 -04:00
committed by GitHub
parent 18dcdc958b
commit 91cde0148d

View File

@@ -6,6 +6,8 @@ This preset includes the following plugins:
- [transform-typescript](https://babeljs.io/docs/plugins/transform-typescript/)
> You will need to specify `--extensions ".ts"` for `babel-cli`, `babel-node` to handle `.ts` files.
## Example
**In**