add note about sourcemaps and 6to5/register

This commit is contained in:
Sebastian McKenzie
2014-12-18 16:30:49 +11:00
parent 122705bdaf
commit 2a4c8e8423

View File

@@ -212,6 +212,9 @@ All subsequent files required by node with the extensions `.es6` and `.js` will
be transformed by 6to5. The polyfill specified in [Polyfill](polyfill.md) is
also required.
Source maps are automatically configured so if any errors a thrown then line
number info is mapped and you'll get the correct source location.
```javascript
require("6to5/register");
```