MCPcopy
hub / github.com/webpack/webpack / externalsArguments

Method externalsArguments

lib/library/UmdLibraryPlugin.js:253–261  ·  view source on GitHub ↗
(modules)

Source from the content-addressed store, hash-verified

251 * @returns {string} arguments
252 */
253 const externalsArguments = (modules) =>
254 modules
255 .map(
256 (m) =>
257 `__WEBPACK_EXTERNAL_MODULE_${Template.toIdentifier(
258 `${chunkGraph.getModuleId(m)}`
259 )}__`
260 )
261 .join(", ");
262
263 /**
264 * Returns stringified library name.

Callers

nothing calls this directly

Calls 2

toIdentifierMethod · 0.80
getModuleIdMethod · 0.80

Tested by

no test coverage detected