packages/uptime-kuma: reduce closure size

This commit is contained in:
Max Headroom 2022-09-21 19:39:02 +02:00
parent 456f7e230e
commit c084f7ca7b

View file

@ -86,4 +86,11 @@ in
--set NODE_PATH "$out/lib/node_modules/uptime-kuma/node_modules" --set NODE_PATH "$out/lib/node_modules/uptime-kuma/node_modules"
''; '';
}; };
"@louislam/sqlite3".closure-bloat = {
postFixup = ''
rm -rf build-*/
find $out -type d -name '*-node-addon-api-*' -print0 | xargs -0 rm -rf
'';
};
} }