inlineSourceMap
uses Buffer
The comment that attaches a map to a module.
export function inlineSourceMap(map: string): string { return `//# sourceMappingURL=data:application/json;charset=utf-8;base64,${Buffer.from(map).toString("base64")}`; }
uses Buffer
The comment that attaches a map to a module.
export function inlineSourceMap(map: string): string { return `//# sourceMappingURL=data:application/json;charset=utf-8;base64,${Buffer.from(map).toString("base64")}`; }