Blame view

node_modules/@babel/core/lib/config/index.js 682 Bytes
ce4c83ff   wxy   初始提交
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
  "use strict";
  
  Object.defineProperty(exports, "__esModule", {
    value: true
  });
  exports.loadOptions = loadOptions;
  Object.defineProperty(exports, "default", {
    enumerable: true,
    get: function () {
      return _full.default;
    }
  });
  Object.defineProperty(exports, "loadPartialConfig", {
    enumerable: true,
    get: function () {
      return _partial.loadPartialConfig;
    }
  });
  
  var _full = _interopRequireDefault(require("./full"));
  
  var _partial = require("./partial");
  
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
  
  function loadOptions(opts) {
    const config = (0, _full.default)(opts);
    return config ? config.options : null;
  }