MCPcopy Index your code
hub / github.com/tinymce/tinymce / buildEntries

Function buildEntries

modules/tinymce/rspack.config.js:157–163  ·  view source on GitHub ↗
(typeNames, type, entry, pathPrefix = '')

Source from the content-addressed store, hash-verified

155);
156
157const buildEntries = (typeNames, type, entry, pathPrefix = '') => typeNames.reduce(
158 (acc, name) => {
159 const fileName = type.replace(/s$/, '') + '.js';
160 acc[`${pathPrefix}${type}/${name}/${fileName}`] = `src/${type}/${name}/main/ts/${entry}`;
161 return acc;
162 }, {}
163);
164
165function findDemos(baseDir, type, demoFile) {
166 const typeDir = path.resolve(baseDir, 'src', type);

Callers 1

rspack.config.jsFile · 0.70

Calls 1

replaceMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…