Skip to content

Commit

Permalink
Merge branch 'fix-default-conflict' of https://github.com/olsonpm/rollup
Browse files Browse the repository at this point in the history
 into olsonpm-fix-default-conflict
  • Loading branch information
Rich-Harris committed Mar 9, 2017
2 parents 178b822 + d467bc3 commit 3d311f7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Bundle.js
Expand Up @@ -314,7 +314,9 @@ export default class Bundle {

return this.fetchAllDependencies( module ).then( () => {
keys( module.exports ).forEach( name => {
module.exportsAll[name] = module.id;
if ( name !== 'default' ) {
module.exportsAll[name] = module.id;
}
});
module.exportAllSources.forEach( source => {
const id = module.resolvedIds[ source ];
Expand Down

0 comments on commit 3d311f7

Please sign in to comment.