babel-plugin-transform-es2015-modules-commonjs
Advanced tools
Comparing version 6.6.0 to 6.6.2
@@ -301,2 +301,7 @@ /* eslint max-len: 0 */ | ||
_path.replaceWith(buildExportsAssignment(t.identifier("default"), declaration.node)); | ||
// Manualy re-queue `export default foo;` expressions so that the ES3 transform | ||
// has an opportunity to convert them. Ideally this would happen automatically from the | ||
// replaceWith above. See T7166 for more info. | ||
_path.parentPath.requeue(_path.get("expression.left")); | ||
} | ||
@@ -303,0 +308,0 @@ } else if (_path.isExportNamedDeclaration()) { |
{ | ||
"name": "babel-plugin-transform-es2015-modules-commonjs", | ||
"version": "6.6.0", | ||
"version": "6.6.2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-es2015-modules-commonjs", |
21348
414