Use a .babelignore to skip compiling lib and fixtures. (#451)

This commit is contained in:
Logan Smyth
2017-04-05 12:16:51 -07:00
committed by Henry Zhu
parent ed452b6f78
commit 1c07efb5fc
3 changed files with 3 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,
});