MCPcopy Index your code
hub / github.com/reactjs/react-modal / buildEntries

Function buildEntries

scripts/webpack.config.js:12–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10}
11
12function buildEntries() {
13 return fs.readdirSync(EXAMPLES_DIR).reduce(function (entries, dir) {
14 if (dir === 'build')
15 return entries;
16
17 var isDraft = dir.charAt(0) === '_';
18
19 if (!isDraft && isDirectory(path.join(EXAMPLES_DIR, dir)))
20 entries[dir] = path.join(EXAMPLES_DIR, dir, 'app.js');
21
22 return entries;
23 }, {});
24}
25
26module.exports = {
27 ...defaultConfig,

Callers 1

webpack.config.jsFile · 0.85

Calls 1

isDirectoryFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…