MeTube: Allow pnpm build scripts to fix ERR_PNPM_IGNORED_BUILDS

This commit is contained in:
MickLesk
2026-04-11 22:14:42 +02:00
parent daaa137cec
commit 169203458a
2 changed files with 2 additions and 0 deletions

View File

@@ -62,6 +62,7 @@ function update_script() {
$STD corepack enable
$STD corepack prepare pnpm --activate || true
fi
echo 'onlyBuiltDependencies=*' >> .npmrc
$STD pnpm install --frozen-lockfile
$STD pnpm run build
msg_ok "Built Frontend"

View File

@@ -41,6 +41,7 @@ if command -v corepack >/dev/null 2>&1; then
$STD corepack enable
$STD corepack prepare pnpm --activate || true
fi
echo 'onlyBuiltDependencies=*' >> .npmrc
$STD pnpm install --frozen-lockfile
$STD pnpm run build
cd /opt/metube