add_plugin_html {packer}R Documentation

HTML Plugin

Description

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.

Usage

add_plugin_html(use_pug = FALSE, output_path = "../index.html")

Arguments

use_pug

Set to TRUE to use the pug engine.

output_path

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.


[Package packer version 0.1.3 Index]