UNPKG

477 BPlain TextView Raw
1{
2 "presets": ["es2015"],
3 "plugins": [
4 "transform-class-properties",
5
6 // this transforms async functions into generator functions, which
7 // are then made to use the regenerator module by babel's
8 // transform-regnerator plugin (which is enabled by es2015).
9 "transform-async-to-bluebird",
10
11 // This makes sure that the regenerator runtime is available to
12 // the transpiled code.
13 "transform-runtime",
14 ],
15}