Skip to content

Commit

Permalink
revert change to generateUMDExportAssignment
Browse files Browse the repository at this point in the history
  • Loading branch information
trxcllnt committed Apr 16, 2024
1 parent 89e02ab commit 75b55b1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions js/gulp/closure-task.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,7 @@ function generateUMDExportAssignment(src, exportedImports) {
const p = publicModulePath.slice(src.length + 1);
return (`import * as exports${i} from './${p}';`);
}).filter(Boolean),
`Object.assign(arguments[0], ${exportedImports.map((_, i) => `exports${i}`).join(', ')
});`
'Object.assign(arguments[0], exports0);'
].join('\n');
}

Expand Down

0 comments on commit 75b55b1

Please sign in to comment.