|
@ -435,7 +435,7 @@ export default class Module { |
|
|
else { |
|
|
else { |
|
|
// Be sure to mark the default export for the entry module.
|
|
|
// Be sure to mark the default export for the entry module.
|
|
|
if ( isEntryModule && statement.node.type === 'ExportDefaultDeclaration' ) { |
|
|
if ( isEntryModule && statement.node.type === 'ExportDefaultDeclaration' ) { |
|
|
this.markExport( 'default', null, this ); |
|
|
this.markExport( 'default', this ); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
statement.mark(); |
|
|
statement.mark(); |
|
@ -449,7 +449,7 @@ export default class Module { |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
markExport ( name, suggestedName, importer ) { |
|
|
markExport ( name, importer ) { |
|
|
const id = this.exports.lookup( name ); |
|
|
const id = this.exports.lookup( name ); |
|
|
|
|
|
|
|
|
if ( id ) { |
|
|
if ( id ) { |
|
|