From 97f57d91c2ee46e31dafe33eb4955261bb68fce3 Mon Sep 17 00:00:00 2001 From: Joseph Carroll Date: Mon, 19 Jan 2015 16:49:15 -0500 Subject: [PATCH] Fix support for specifying module-dir --- bin/pure-cjs.js | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/pure-cjs.js b/bin/pure-cjs.js index 951ff4d..b175b20 100755 --- a/bin/pure-cjs.js +++ b/bin/pure-cjs.js @@ -11,6 +11,7 @@ program .option('-m, --map [file]', 'file to store source map to (optional)') .option('-c, --comments', 'preserve comments in output') .option('-e, --exports ', 'top module exports destination (optional)') + .option('-d, --module-dir ', 'top level location to search for external modules (optional)') .option('-s, --external [hash]', 'external modules (names or JSON hashes)', function (value, obj) { try { var add = JSON.parse(value);