MCPcopy
hub / github.com/webpack/webpack / runtimeValue

Method runtimeValue

lib/DefinePlugin.js:382–384  ·  view source on GitHub ↗

* Returns runtime value. * @param {GeneratorFn} fn generator function * @param {true | string[] | RuntimeValueOptions=} options options * @returns {RuntimeValue} runtime value

(fn, options)

Source from the content-addressed store, hash-verified

380 * @returns {RuntimeValue} runtime value
381 */
382 static runtimeValue(fn, options) {
383 return new RuntimeValue(fn, options);
384 }
385
386 /**
387 * Applies the plugin by registering its hooks on the compiler.

Callers 7

webpack.config.jsFile · 0.80
webpack.config.jsFile · 0.80
runFunction · 0.80
webpack.config.jsFile · 0.80
webpack.config.jsFile · 0.80
webpack.config.jsFile · 0.80
webpack.config.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected