jsmin: add menuconfig entry for host variant
Signed-off-by: Julien Floret <julien.floret@6wind.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
a5f3513b22
commit
88418a2806
@ -20,6 +20,7 @@ menu "Host utilities"
|
||||
source "package/gptfdisk/Config.in.host"
|
||||
source "package/imx-usb-loader/Config.in.host"
|
||||
source "package/jq/Config.in.host"
|
||||
source "package/jsmin/Config.in.host"
|
||||
source "package/lpc3250loader/Config.in.host"
|
||||
source "package/mke2img/Config.in.host"
|
||||
source "package/mtd/Config.in.host"
|
||||
|
11
package/jsmin/Config.in.host
Normal file
11
package/jsmin/Config.in.host
Normal file
@ -0,0 +1,11 @@
|
||||
config BR2_PACKAGE_HOST_JSMIN
|
||||
bool "host jsmin"
|
||||
help
|
||||
JSMin is a filter which removes comments and unnecessary
|
||||
whitespace from JavaScript files. It typically reduces
|
||||
filesize by half, resulting in faster downloads. It also
|
||||
encourages a more expressive programming style because it
|
||||
eliminates the download cost of clean, literate
|
||||
self-documentation.
|
||||
|
||||
http://www.crockford.com/javascript/jsmin.html
|
Loading…
Reference in New Issue
Block a user