From c2223c0b0aeb4782651f6051664330068fde59a9 Mon Sep 17 00:00:00 2001 From: Sviridov Alexander Date: Sat, 23 Jan 2016 12:46:24 +0500 Subject: [PATCH] Disable external Babel configuration --- src/Worker.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Worker.js b/src/Worker.js index 4bcdec1b..e20da10f 100644 --- a/src/Worker.js +++ b/src/Worker.js @@ -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); }