Add an option for custom runtime (#3612)

This commit is contained in:
Dan Abramov
2016-08-31 18:59:43 +01:00
committed by Henry Zhu
parent 288e956699
commit 4ac0df00f1
6 changed files with 58 additions and 9 deletions

View File

@@ -42,7 +42,8 @@ Add the following line to your `.babelrc` file:
["transform-runtime", {
"helpers": false, // defaults to true
"polyfill": false, // defaults to true
"regenerator": true // defaults to true
"regenerator": true, // defaults to true
"moduleName": "babel-runtime" // defaults to "babel-runtime"
}]
]
}