systemjs-plugin-babel
Advanced tools
Comparing version 0.0.20 to 0.0.21
{ | ||
"name": "systemjs-plugin-babel", | ||
"version": "0.0.20", | ||
"version": "0.0.21", | ||
"registry": "npm", | ||
@@ -5,0 +5,0 @@ "jspmPackage": true, |
@@ -103,11 +103,5 @@ var babel = require('systemjs-babel-build').babel; | ||
return; | ||
pluginAndPresetModuleLoads.push( | ||
pluginLoader.normalize(plugin, module.id) | ||
.then(function(normalized) { | ||
return pluginLoader.load(normalized) | ||
.then(function() { | ||
return pluginLoader.get(normalized)['default']; | ||
}); | ||
}) | ||
); | ||
pluginAndPresetModuleLoads.push(pluginLoader.import(plugin, module.id).then(function (m) { | ||
return m.default || m; | ||
})); | ||
}); | ||
@@ -114,0 +108,0 @@ |
2705326
54263