MCPcopy
hub / github.com/webpack/webpack / html

Function html

test/buildHtmlAst.unittest.js:29–29  ·  view source on GitHub ↗
(src)

Source from the content-addressed store, hash-verified

27 * @returns {import("../lib/html/syntax").HtmlElement} html element
28 */
29const html = (src) => child(buildHtmlAst(src).children, "html");
30/**
31 * @param {string} src source
32 * @returns {import("../lib/html/syntax").HtmlElement[]} body children

Callers 3

bodyFunction · 0.85
headFunction · 0.85

Calls 2

childFunction · 0.85
buildHtmlAstFunction · 0.85

Tested by

no test coverage detected