From 089c28861c4b71df5ee4bd5f72390fabea3f8486 Mon Sep 17 00:00:00 2001 From: Manish Jethani Date: Thu, 12 Aug 2021 17:27:56 +0530 Subject: [PATCH] Use npm pack (#3812) --- tools/make-nodejs.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/make-nodejs.sh b/tools/make-nodejs.sh index 0455d9ae1..52c40f87c 100755 --- a/tools/make-nodejs.sh +++ b/tools/make-nodejs.sh @@ -59,6 +59,8 @@ cp LICENSE.txt $DES/ cd $DES npm run build +tarballname=$(npm pack 2> /dev/null) +mv $tarballname ../uBlock0.nodejs.tgz cd - if [ "$1" = all ]; then