That function-map file is getting pretty unwieldy, and it isn't easy to find. I would much prefer if we have index files sitting in between it and the actual imports, so:
// checks/color/index.js
import colorContrast from './color-contrast-evaluate.js'
import linkInTextBlock from './link-in-text-block-evaluate.js'
export default {
'color-contrast-evaluate': colorContrast,
'link-in-text-block-evaluate': linkInTextBlock,
}
// metadata-function-map.js
import colorEvaluate from '../../checks/color';
export default {
...colorEvaluate
};
That function-map file is getting pretty unwieldy, and it isn't easy to find. I would much prefer if we have index files sitting in between it and the actual imports, so: