remove root internals protect
This commit is contained in:
@@ -8,8 +8,6 @@ module.exports = function (babel) {
|
||||
Program: function (node, parent, scope, file) {
|
||||
if (file.opts.filename.indexOf("tools/protect") >= 0) return;
|
||||
if (file.opts.filename.indexOf("templates") >= 0) return;
|
||||
if (file.opts.filename.indexOf("polyfill") >= 0) return;
|
||||
if (file.opts.filename.indexOf("register") >= 0) return;
|
||||
|
||||
var from = "/" + path.dirname(file.opts.filename.replace(/^src/, "lib"));
|
||||
var to = "/lib/babel/tools";
|
||||
|
||||
Reference in New Issue
Block a user