MCPcopy Index your code
hub / github.com/webpack/webpack-dev-server / getClientHotEntry

Method getClientHotEntry

lib/Server.js:1629–1635  ·  view source on GitHub ↗

* @returns {string | void} client hot entry

()

Source from the content-addressed store, hash-verified

1627 * @returns {string | void} client hot entry
1628 */
1629 getClientHotEntry() {
1630 if (this.options.hot === "only") {
1631 return cjsRequire.resolve("webpack/hot/only-dev-server");
1632 } else if (this.options.hot) {
1633 return cjsRequire.resolve("webpack/hot/dev-server");
1634 }
1635 }
1636
1637 /**
1638 * @private

Callers 1

addAdditionalEntriesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected