add .mjs to list of well known extensions

this is to conform to the plan of the Node.js EP
This commit is contained in:
Bradley Farias
2017-04-11 08:13:51 -07:00
committed by Logan Smyth
parent 685006433b
commit 7ca81700f7
4 changed files with 7 additions and 7 deletions

View File

@@ -26,7 +26,7 @@ program.option("-e, --eval [script]", "Evaluate script");
program.option("-p, --print [code]", "Evaluate script and print result");
program.option("-o, --only [globs]", "A comma-separated list of glob patterns to compile", collect);
program.option("-i, --ignore [globs]", "A comma-separated list of glob patterns to skip compiling", collect);
program.option("-x, --extensions [extensions]", "List of extensions to hook into [.es6,.js,.es,.jsx]", collect);
program.option("-x, --extensions [extensions]", "List of extensions to hook into [.es6,.js,.es,.jsx,.mjs]", collect);
program.option("-w, --plugins [string]", "", collect);
program.option("-b, --presets [string]", "", collect);
/* eslint-enable max-len */