|
@ -286,6 +286,7 @@ export default class Statement { |
|
|
.map( name => `\n${bundleExports[name]} = ${name};` ) |
|
|
.map( name => `\n${bundleExports[name]} = ${name};` ) |
|
|
.join( '' ); |
|
|
.join( '' ); |
|
|
|
|
|
|
|
|
|
|
|
if ( exportInitialisers ) { |
|
|
// TODO clean this up
|
|
|
// TODO clean this up
|
|
|
try { |
|
|
try { |
|
|
magicString.insert( node.end, exportInitialisers ); |
|
|
magicString.insert( node.end, exportInitialisers ); |
|
@ -295,6 +296,7 @@ export default class Statement { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
const scope = node._scope; |
|
|
const scope = node._scope; |
|
|
|
|
|
|
|
|