import produce from 'immer';
import { flow } from 'lodash';
import base from './base';
import fieldTitleSupport from './fieldTitleSupport';
import repeatableFieldSupport from './repeatableFieldSupport';
var converters = [base, fieldTitleSupport, repeatableFieldSupport];
export default (function (config) {
  return flow(converters.map(function (converter) {
    var _ref, _config;

    return _ref = (_config = config, converter(_config)), produce(_ref);
  }));
});
//# sourceMappingURL=index.js.map