MCPcopy Index your code
hub / github.com/wdjungst/react-project / getWebpackStats

Function getWebpackStats

modules/PublicServerAPI.js:165–168  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

163}
164
165function getWebpackStats() {
166 const file = path.resolve(APP_PATH, '.build', 'stats.json')
167 return JSON.parse(fs.readFileSync(file, 'utf8'))
168}
169
170function getContent(req, appElement) {
171 return (SERVER_RENDERING) ?

Callers 1

createServerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected