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
You can ignore multiple directories and specify a globbing pattern within the .babelrc file like this
.babelrc
{ ..., "ignore": [ "node_modules", "dir_2", "dir_3/**/*.js" ] }
Reference: https://babeljs.io/docs/en/babelrc