0
rated 0 times
[
1]
[
1]
/ answers: 1 / hits: 25973
/ 8 Years ago, wed, march 2, 2016, 12:00:00
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 several directories (node_modules, test), I tried a lot of things, including (in .babelrc
):
ignore: node_modules
ignore: /node_modules/
ignore: node_modules/**
ignore: [node_modules]
Which doesn't work at all (node_modules are transpiled). Isn't there a simple way to achieve this (with Babel 6)?
More From » babeljs