recipes-devtools: Add recipe for html minifier
Signed-off-by: Thomas Klaehn <thomas.klaehn@perinet.io>
This commit is contained in:
parent
dfa3b2a753
commit
c5b617ec36
5219
recipes-devtools/html-minifier/files/npm-shrinkwrap.json
generated
Normal file
5219
recipes-devtools/html-minifier/files/npm-shrinkwrap.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
20
recipes-devtools/html-minifier/html-minifier_4.0.0.bb
Normal file
20
recipes-devtools/html-minifier/html-minifier_4.0.0.bb
Normal 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})
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user