Function
buildEntries
(typeNames, type, entry, pathPrefix = '')
Source from the content-addressed store, hash-verified
| 127 | ); |
| 128 | |
| 129 | const buildEntries = (typeNames, type, entry, pathPrefix = '') => typeNames.reduce( |
| 130 | (acc, name) => { |
| 131 | const fileName = type.replace(/s$/, '') + '.js'; |
| 132 | acc[`${pathPrefix}${type}/${name}/${fileName}`] = `src/${type}/${name}/main/ts/${entry}`; |
| 133 | return acc; |
| 134 | }, {} |
| 135 | ); |
| 136 | |
| 137 | const all = (plugins, themes, models) => { |
| 138 | return [ |
Tested by
no test coverage detected
Used in the wild real call sites across dependent graphs
searching dependent graphs…