|
@@ -41,7 +41,7 @@ const createSearchMap = ({
|
|
|
export function loadSearchMap() {
|
|
|
// Load all form configuration files via webpack that export a named `route`
|
|
|
// as well as either `fields` or `formGroups`
|
|
|
- const context = require.context('../data/forms', true, /\.[tj]sx?$/);
|
|
|
+ const context = require.context('../data/forms', true, /\.tsx?$/);
|
|
|
|
|
|
// Get a list of all form fields defined in `../data/forms`
|
|
|
const allFormFields = flatten(
|