Comparing version 0.5.6 to 0.5.7
@@ -1038,3 +1038,6 @@ (function (global, factory) { | ||
// export function answer () { return 42; } | ||
shouldExportEarly[ x.name ] = true; // TODO what about `function foo () {}; export { foo }`? | ||
if ( x.type === 'namedFunction' ) { | ||
shouldExportEarly[ x.name ] = true; | ||
} | ||
body.remove( x.start, x.valueStart ); | ||
@@ -1041,0 +1044,0 @@ } |
@@ -1777,3 +1777,6 @@ (function () { | ||
// export function answer () { return 42; } | ||
shouldExportEarly[ x.name ] = true; // TODO what about `function foo () {}; export { foo }`? | ||
if ( x.type === 'namedFunction' ) { | ||
shouldExportEarly[ x.name ] = true; | ||
} | ||
body.remove( x.start, x.valueStart ); | ||
@@ -1780,0 +1783,0 @@ } |
@@ -1777,3 +1777,6 @@ (function () { | ||
// export function answer () { return 42; } | ||
shouldExportEarly[ x.name ] = true; // TODO what about `function foo () {}; export { foo }`? | ||
if ( x.type === 'namedFunction' ) { | ||
shouldExportEarly[ x.name ] = true; | ||
} | ||
body.remove( x.start, x.valueStart ); | ||
@@ -1780,0 +1783,0 @@ } |
{ | ||
"name": "esperanto", | ||
"description": "An easier way to convert ES6 modules to AMD and CommonJS", | ||
"version": "0.5.6", | ||
"version": "0.5.7", | ||
"author": "Rich Harris", | ||
@@ -6,0 +6,0 @@ "repository": "https://github.com/esperantojs/esperanto", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
5225
797436