Babel ignore several directories

前端 未结 4 1926
鱼传尺愫
鱼传尺愫 2021-01-01 13:17

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

4条回答
  •  [愿得一人]
    2021-01-01 14:05

    You should be able to use commas in the cli

    babel . --ignore node_modules,test --out-dir dist

提交回复
热议问题