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

Method setupApp

lib/Server.js:1861–1870  ·  view source on GitHub ↗

* @private * @returns {Promise }

()

Source from the content-addressed store, hash-verified

1859 * @returns {Promise<void>}
1860 */
1861 async setupApp() {
1862 /** @type {A | undefined} */
1863 this.app =
1864 /** @type {A} */
1865 (
1866 typeof this.options.app === "function"
1867 ? await this.options.app()
1868 : (await getExpress())()
1869 );
1870 }
1871
1872 /**
1873 * @private

Callers 1

initializeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected