Add the html-webpack-plugin to the configuration to generate HTML with webpack, used in packer to generate the UI of a golem app with webpack.
add_plugin_html(use_pug = FALSE, output_path = "../index.html")
Set to TRUE
to use the pug engine.
Path to the generated html file, defaults to ../index.html
as
is ideal for golem. Note that this path is relative to your output directory specified
in your webpack.common.js
file.