I\'m currently running Babel with a simple command :
$ babel . --ignore node_modules --out-dir dist
But I can\'t find a way to ignore sever
With Babel 7 you need to use a glob pattern:
babel . --ignore */node_modules,*/test --out-dir dist