Skip to content

Commit

Permalink
Merge pull request #85 from sviridov/babelrc-fix
Browse files Browse the repository at this point in the history
Disable external Babel configuration
  • Loading branch information
fkling committed Jan 25, 2016
2 parents 635343a + c2223c0 commit fbfb19a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ if (module.parent) {

function setup(tr, babel) {
if (babel === 'babel') {
require('babel-core/register')();
// FIXME: use { babelrc: false } after migration to Babel 6
require('babel-core/register')({ breakConfig: true });
}
transform = require(tr);
}
Expand Down

0 comments on commit fbfb19a

Please sign in to comment.