UNPKG

html-render-webpack-plugin

Version:

webpack plugin for rendering static HTML in a multi-config webpack build

9 lines (8 loc) 191 B
export default function exampleRender(...params) { return `<html> <body> Rendered with:&nbsp; <code>${JSON.stringify(params, null, 2).replace(/\n/g, "\n ")}</code> </body> </html>`; }