add_plugin_clean {packer} | R 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. |
[Package packer version 0.1.3 Index]