import { returnDataSet } from '~helpers/search';

export default async function loadSource(uniqueField, indexFields) {
  return import('../data/search/data.json').then((data) => {
    return returnDataSet(uniqueField, indexFields, data);
  });
}
