Use a standard .babelignore and babel-register. (#5555)

This commit is contained in:
Logan Smyth
2017-03-27 18:16:09 -07:00
committed by Henry Zhu
parent 899daafcf4
commit 0c2ac9d907
3 changed files with 4 additions and 11 deletions

View File

@@ -1,10 +0,0 @@
"use strict";
const register = require("babel-register").default;
register({
extensions: [".js"],
// Only js files in the test folder but not in the subfolder fixtures.
only: [/packages\/.+\/test\/(?!fixtures\/).+\.js$/],
compact: true,
});