add example usage for custom module formatters

This commit is contained in:
Sebastian McKenzie
2014-11-03 18:20:01 +11:00
parent 600513bcab
commit cb98605520

View File

@@ -134,6 +134,10 @@ function bar() {
You can alternatively specify module names instead of one of the built-in types.
$ 6to5 --modules custom-module-formatter
**node_modules/custom-module-formatter/index.js**
```javascript
module.exports = ModuleFormatter;