add_plugin_clean {packer} | R Documentation |
Add the clean-webpack-plugin to clean the bundled files.
add_plugin_clean(dry = FALSE, verbose = FALSE, clean = TRUE, protect = TRUE)
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. |