MCPcopy Create free account
hub / github.com/andywer/webpack-blocks / performance

Function performance

packages/webpack/index.js:122–127  ·  view source on GitHub ↗

* @param {object} performanceBudget * @param {number} performanceBudget.maxAssetSize * @param {number} performanceBudget.maxEntrypointSize * @param {string} performanceBudget.hints 'warning' or 'error'

(performanceBudget)

Source from the content-addressed store, hash-verified

120 * @param {string} performanceBudget.hints 'warning' or 'error'
121 */
122function performance(performanceBudget) {
123 return (context, util) =>
124 util.merge({
125 performance: performanceBudget
126 })
127}
128
129/**
130 * @param {object} optimizationOptions

Callers 3

developmentConfigFunction · 0.85
webpack.config.jsFile · 0.85
webpack.config.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…