Browse Source

fix export * case

contingency-plan
Rich Harris 10 years ago
parent
commit
be73b32792
  1. 2
      src/Module.js

2
src/Module.js

@ -233,6 +233,7 @@ export default class Module {
} }
else if ( statement.isReexportDeclaration ) { else if ( statement.isReexportDeclaration ) {
if ( statement.node.specifiers ) {
statement.node.specifiers.forEach( specifier => { statement.node.specifiers.forEach( specifier => {
let reexport; let reexport;
@ -247,6 +248,7 @@ export default class Module {
addDependency( strongDependencies, reexport ); addDependency( strongDependencies, reexport );
}); });
} }
}
else { else {
keys( statement.stronglyDependsOn ).forEach( name => { keys( statement.stronglyDependsOn ).forEach( name => {

Loading…
Cancel
Save