From cb9860552061caa78ff45e81394e463ed34af301 Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Mon, 3 Nov 2014 18:20:01 +1100 Subject: [PATCH] add example usage for custom module formatters --- MODULES.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/MODULES.md b/MODULES.md index e50bd12760..5d6dd1fa38 100644 --- a/MODULES.md +++ b/MODULES.md @@ -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;