Huáng Jùnliàng eda4130d5e
Tweak helper compilation targets (#12615)
* refactor: simply browserslists defaults overwriting

When `hasTargets` is `false`,  `targets` is always an empty object by definition, `objectToBrowserslist({})` always return `[]` therefore we can remove `objectToBrowserslist`.

* test: apply external-helpers on preset-env test fixtures

* test: add ie 6 to force all transforms in corejs 3, debug, corejs 2 fixtures

* Add ie 6 as targets for test fixtures
2021-01-12 13:09:45 -05:00

18 lines
474 B
JavaScript

(function (global, factory) {
if (typeof define === "function" && define.amd) {
define(["a"], factory);
} else if (typeof exports !== "undefined") {
factory(require("a"));
} else {
var mod = {
exports: {}
};
factory(global.a);
global.input = mod.exports;
}
})(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function (_a) {
"use strict";
_a = babelHelpers.interopRequireDefault(_a);
});