We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3624d40 + 96e1e12 commit ceefe93Copy full SHA for ceefe93
README.md
@@ -19,6 +19,38 @@ Install
19
-------
20
21
npm install fast-async
22
+
23
24
+Usage
25
+-----
26
27
+Just include the plugin to the babel options. Minimal `.babelrc` example:
28
29
+ {
30
+ "plugins": ["fast-async"]
31
+ }
32
33
+That's all. Neither `babel-plugin-transform-runtime` nor `babel-polyfill` required.
34
35
+With options:
36
37
38
+ "plugins": [
39
+ ["fast-async", {
40
+ "env": {
41
+ "augmentObject": false,
42
+ "dontMapStackTraces": false,
43
+ "asyncStackTrace": false,
44
+ "dontInstallRequireHook": false
45
+ },
46
+ "compiler": {
47
+ "promises": true,
48
+ "generators": false
49
50
+ }]
51
+ ]
52
53
54
55
Test
56
----
0 commit comments