minify-folders: Minifying folders

minify_folder_cssR Documentation

Minifying folders

Description

Minifying folders

Usage

minify_folder_css(path, fun, recursive = TRUE, ...)

minify_package_css(package, fun, recursive = TRUE, ...)

minify_folder_js(path, fun, recursive = TRUE, ...)

minify_package_js(package, fun, recursive = TRUE, ...)

minify_folder_html(path, fun, recursive = TRUE, ...)

minify_package_html(package, fun, recursive = TRUE, ...)

minify_folder_json(path, fun, recursive = TRUE, ...)

minify_package_json(package, fun, recursive = TRUE, ...)

Arguments

path

Path to the folder containing files to minify

fun

Function to use to minify

recursive

logical. Should the listing recurse into directories?

...

Parameters passed to base::list.files()

package

Package containing files to minify

Value

The minified path, invisibly.


ColinFay/minifyr documentation built on June 29, 2023, 3:39 a.m.