"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = _default;

function _react() {
  const data = _interopRequireDefault(require("react"));

  _react = function _react() {
    return data;
  };

  return data;
}

function _path() {
  const data = require("path");

  _path = function _path() {
    return data;
  };

  return data;
}

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

function _default(chunks = {}) {
  return Object.keys(chunks).reduce((memo, key) => {
    chunks[key].forEach(file => {
      if (!file.includes('.hot-update')) {
        memo[`${key}${(0, _path().extname)(file)}`] = file;
      }
    });
    return memo;
  }, {});
}