Skip to content
This repository was archived by the owner on Jul 13, 2020. It is now read-only.

Commit 2d92d0f

Browse files
committed
document transpilation options
1 parent 6636937 commit 2d92d0f

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

+14
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,20 @@ and load the module dynamically in the browser
6666

6767
The dynamic loader returns a `Module` object, which contains getters for the named exports (in this case, `q`).
6868

69+
#### Setting transpilation options
70+
71+
If using Traceur, these can be set with:
72+
73+
```javascript
74+
System.traceurOptions = {...};
75+
```
76+
77+
Or with 6to5:
78+
79+
```javascript
80+
System.to5Options = {...};
81+
```
82+
6983
#### Module Tag
7084

7185
As well as defining `window.System`, this polyfill provides support for the `<script type="module">` tag:

0 commit comments

Comments
 (0)