webpacker: Run webpack for the project

Description Usage Arguments

View source: R/webpacker.R

Description

This is called at the very end of vizmake() if you have a webpack block in your viz.yaml.

Usage

1
webpacker(webpack_build_cfg)

Arguments

webpack_cfg

character string indicating which script to run from the webpack package.json file, e.g. "dev", "prod", "watch", etc. Must exist in the package.json file for your viz. Defaults to start.


USGS-VIZLAB/vizlab documentation built on July 10, 2019, 12:08 a.m.