add_plugin_clean: Clean Plugin

View source: R/plugins.R

add_plugin_cleanR Documentation

Clean Plugin

Description

Add the clean-webpack-plugin to clean the bundled files.

Usage

add_plugin_clean(dry = FALSE, verbose = FALSE, clean = TRUE, protect = TRUE)

Arguments

dry

Whether to simulate the removal of files.

verbose

Write Logs to the console.

clean

Whether to automatically remove all unused webpack assets on rebuild.

protect

Whether to not allow removal of current webpack assets.


packer documentation built on May 28, 2022, 5:06 p.m.