Browse Source

Fix failing test

gh-669
Oskar Segersvärd 9 years ago
parent
commit
fbb0b3935b
  1. 2
      src/Module.js

2
src/Module.js

@ -611,7 +611,7 @@ export default class Module {
run ( treeshake ) { run ( treeshake ) {
if ( !treeshake ) { if ( !treeshake ) {
this.statements.forEach( statement => { this.statements.forEach( statement => {
if ( statement.isImportDeclaration ) return; if ( statement.isImportDeclaration || ( statement.isExportDeclaration && statement.node.isSynthetic ) ) return;
statement.mark(); statement.mark();
}); });

Loading…
Cancel
Save