hashConfig.js 518 B

123456789101112131415161718192021
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. Object.defineProperty(exports, "default", {
  6. enumerable: true,
  7. get: function() {
  8. return hashConfig;
  9. }
  10. });
  11. const _objecthash = /*#__PURE__*/ _interop_require_default(require("object-hash"));
  12. function _interop_require_default(obj) {
  13. return obj && obj.__esModule ? obj : {
  14. default: obj
  15. };
  16. }
  17. function hashConfig(config) {
  18. return (0, _objecthash.default)(config, {
  19. ignoreUnknown: true
  20. });
  21. }