Skip to content

Commit

Permalink
Set only flag correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
danez committed Oct 1, 2016
1 parent ccbaa2e commit 70a0037
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/babel-register.js
Expand Up @@ -16,7 +16,8 @@ if (babel.plugins) {
register(babel);
register({
extensions: [".js"],
only: 'packages/*/test',
// Only js files in the test folder but not in the subfolder fixtures.
only: /packages\/.+\/test\/(?!fixtures\/).+\.js$/,
babelrc: false,
compact: true,
});

0 comments on commit 70a0037

Please sign in to comment.