UNPKG

432 BJavaScriptView Raw
1// This method iterates all the keys in the source exports object and copies them to the destination exports one.
2// Note: the method will not check for naming collisions and will override any already existing entries in the destination exports.
3export function merge(sourceExports, destExports) {
4 for (const key in sourceExports) {
5 destExports[key] = sourceExports[key];
6 }
7}
8//# sourceMappingURL=module-merge.js.map
\No newline at end of file