MCPcopy Create free account
hub / github.com/webpack/webpack-cli / loadWebpack

Method loadWebpack

packages/webpack-cli/src/webpack-cli.ts:1914–1916  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1912 }
1913
1914 async loadWebpack(): Promise<typeof webpack> {
1915 return this.#loadPackage(WEBPACK_PACKAGE, WEBPACK_PACKAGE_IS_CUSTOM);
1916 }
1917
1918 async loadWebpackDevServer(): Promise<DevServerConstructor> {
1919 return this.#loadPackage(WEBPACK_DEV_SERVER_PACKAGE, WEBPACK_DEV_SERVER_PACKAGE_IS_CUSTOM);

Callers 1

WebpackCLIClass · 0.95

Calls 1

#loadPackageMethod · 0.95

Tested by

no test coverage detected