MCPcopy
hub / github.com/webpack/webpack-dev-server / encodeOverlaySettings

Function encodeOverlaySettings

lib/Server.js:293–296  ·  view source on GitHub ↗
(setting)

Source from the content-addressed store, hash-verified

291 * @returns {undefined | string | boolean} encoded overlay settings
292 */
293const encodeOverlaySettings = (setting) =>
294 typeof setting === "function"
295 ? encodeURIComponent(setting.toString())
296 : setting;
297
298// Working for overload, because typescript doesn't support this yes
299/**

Callers 2

addAdditionalEntriesMethod · 0.85
createWebSocketServerMethod · 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…