On my build step I\'m using babel to transpile the code to es5 (from src to dist). How do I make it exclude files ending in .test.js?
src
dist
.test.js
As of today, the following works in .babelrc (babel-core: v6.26.3)
"ignore": [ "**/__tests__", // ignore the whole test directory "**/*.test.js" // ignore test files only ]