Sha256: e12ed032a41bab203e1524f185cc898b07481ee3c078248c198361aef3b4a656

Contents?: true

Size: 1.08 KB

Versions: 23

Compression:

Stored size: 1.08 KB

Contents

"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.resolveBrowserslistConfigFile = resolveBrowserslistConfigFile;
exports.resolveTargets = resolveTargets;
function _helperCompilationTargets() {
  const data = require("@babel/helper-compilation-targets");
  _helperCompilationTargets = function () {
    return data;
  };
  return data;
}
function resolveBrowserslistConfigFile(browserslistConfigFile, configFilePath) {
  return undefined;
}
function resolveTargets(options, root) {
  const optTargets = options.targets;
  let targets;
  if (typeof optTargets === "string" || Array.isArray(optTargets)) {
    targets = {
      browsers: optTargets
    };
  } else if (optTargets) {
    if ("esmodules" in optTargets) {
      targets = Object.assign({}, optTargets, {
        esmodules: "intersect"
      });
    } else {
      targets = optTargets;
    }
  }
  return (0, _helperCompilationTargets().default)(targets, {
    ignoreBrowserslistConfig: true,
    browserslistEnv: options.browserslistEnv
  });
}
0 && 0;

//# sourceMappingURL=resolve-targets-browser.js.map

Version data entries

23 entries across 16 versions & 3 rubygems

Version Path
trusty-cms-6.3.1 node_modules/@babel/core/lib/config/resolve-targets-browser.js
immosquare-cleaner-0.1.51 node_modules/@babel/core/lib/config/resolve-targets-browser.js
immosquare-cleaner-0.1.51 node_modules/jscodeshift/node_modules/@babel/core/lib/config/resolve-targets-browser.js
immosquare-cleaner-0.1.50 node_modules/@babel/core/lib/config/resolve-targets-browser.js
immosquare-cleaner-0.1.50 node_modules/jscodeshift/node_modules/@babel/core/lib/config/resolve-targets-browser.js
immosquare-cleaner-0.1.49 node_modules/jscodeshift/node_modules/@babel/core/lib/config/resolve-targets-browser.js
immosquare-cleaner-0.1.49 node_modules/@babel/core/lib/config/resolve-targets-browser.js
immosquare-cleaner-0.1.48 node_modules/jscodeshift/node_modules/@babel/core/lib/config/resolve-targets-browser.js
immosquare-cleaner-0.1.48 node_modules/@babel/core/lib/config/resolve-targets-browser.js
immosquare-cleaner-0.1.47 node_modules/jscodeshift/node_modules/@babel/core/lib/config/resolve-targets-browser.js
immosquare-cleaner-0.1.47 node_modules/@babel/core/lib/config/resolve-targets-browser.js
immosquare-cleaner-0.1.46 node_modules/jscodeshift/node_modules/@babel/core/lib/config/resolve-targets-browser.js
immosquare-cleaner-0.1.46 node_modules/@babel/core/lib/config/resolve-targets-browser.js
immosquare-cleaner-0.1.45 node_modules/jscodeshift/node_modules/@babel/core/lib/config/resolve-targets-browser.js
immosquare-cleaner-0.1.45 node_modules/@babel/core/lib/config/resolve-targets-browser.js
immosquare-cleaner-0.1.44 node_modules/@babel/core/lib/config/resolve-targets-browser.js
immosquare-cleaner-0.1.43 node_modules/@babel/core/lib/config/resolve-targets-browser.js
immosquare-cleaner-0.1.42 node_modules/@babel/core/lib/config/resolve-targets-browser.js
immosquare-cleaner-0.1.41 node_modules/@babel/core/lib/config/resolve-targets-browser.js
immosquare-cleaner-0.1.40 node_modules/@babel/core/lib/config/resolve-targets-browser.js