MCPcopy
hub / github.com/webpack/webpack / accessorToObjectAccess

Function accessorToObjectAccess

lib/library/UmdLibraryPlugin.js:33–34  ·  view source on GitHub ↗
(accessor)

Source from the content-addressed store, hash-verified

31 * @returns {string} the path
32 */
33const accessorToObjectAccess = (accessor) =>
34 accessor.map((a) => `[${JSON.stringify(a)}]`).join("");
35
36/** @typedef {string | string[]} Accessor */
37

Callers 3

accessorAccessFunction · 0.85
externalsRootArrayMethod · 0.85
externalsRequireArrayMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected