Skip to content

Commit

Permalink
exports + format case
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Oct 18, 2015
1 parent 89af438 commit 688e433
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/global.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ hook('reduceRegister_', function(reduceRegister) {

hook('fetch', function(fetch) {
return function(load) {
if (load.metadata.exports)
if (load.metadata.exports && !load.metadata.format)
load.metadata.format = 'global';

// A global with exports, no globals and no deps
Expand Down

0 comments on commit 688e433

Please sign in to comment.