swc_ecma_transforms_base 41.0.1

rust port of babel and closure compiler.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
function _export_star(from, to) {
    Object.keys(from).forEach(function(k) {
        if (k !== "default" && !Object.prototype.hasOwnProperty.call(to, k)) {
            Object.defineProperty(to, k, {
                enumerable: true,
                get: function() {
                    return from[k];
                }
            });
        }
    });
    return from;
}