fix(idp): aarch64 build

Specifies the supported architectures to ensure that platform-specific
dependencies are fetched for every architecture we build/package for.
This commit is contained in:
Jannik Stehle
2026-06-08 11:11:14 +02:00
parent 3112d136ff
commit f060ca4660

View File

@@ -3,6 +3,22 @@ autoInstallPeers: true
publicHoistPattern:
- "*"
# Ensure platform-specific optional dependencies (e.g. Rollup's native
# binaries pulled in via workbox) are fetched for every architecture we
# build/package for, not just the host that runs `pnpm install`. Without
# this, cross-arch RPM/OBS builds fail with "Cannot find module
# @rollup/rollup-linux-arm64-gnu" on aarch64.
supportedArchitectures:
os:
- current
- linux
cpu:
- x64
- arm64
libc:
- glibc
- musl
overrides:
fast-uri: ">=3.1.2"
postcss: ">=8.5.10"