(mime, text)
| 973 | * @returns {string} a `data:` request for the text |
| 974 | */ |
| 975 | const dataUri = (mime, text) => |
| 976 | `data:${mime};base64,${Buffer.from(text, "utf8").toString("base64")}`; |
| 977 | |
| 978 | /** |
| 979 | * @param {ConstDependency | HtmlSourceDependency | HtmlEntryDependency | HtmlInlineStyleDependency | HtmlInlineScriptDependency | HtmlInlineHtmlDependency} dep dependency |