recipes-devtools: Add recipe for html minifier

Signed-off-by: Thomas Klaehn <thomas.klaehn@perinet.io>
This commit is contained in:
Thomas Klaehn 2020-08-31 07:13:35 +02:00
parent dfa3b2a753
commit c5b617ec36
2 changed files with 5239 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,20 @@
SUMMARY = "Html minifier"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SRC_URI = " \
npm://registry.npmjs.org/;package=html-minifier;version=${PV} \
file://npm-shrinkwrap.json \
"
inherit npm
S = "${WORKDIR}/npm"
do_unpack_append () {
(cp ${WORKDIR}/npm-shrinkwrap.json ${S})
}