minifyr_js_babel | R Documentation |
Minify javaScript files.
minifyr_js_babel(input, output)
minifyr_js_gcc(input, output)
minifyr_js_terser(input, output)
minifyr_js_uglify(input, output)
minifyr_js_yui(input, output)
input |
File to minify |
output |
Name of the output file |
Available minifiers are:
babel-minify, with minifyr_js_babel()
Google Closure Compiler, with minifyr_js_gcc()
terser, with minifyr_js_terser()
uglify-es, with minifyr_js_uglify()
YUI Compressor, with minifyr_js_yui()
The output path
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.