heads up, rollup 4.68.6 throws "Code is nested too deeply" on alpine builds

Feb 12, 2025
40
0
0
fyi alpine docker builds breaking on rollup 4.68.6. pin 4.68.5 or bump to 4.68.7, that one reverts the change

RollupError: Code is nested too deeply, reduce nesting or split the expression into smaller parts

musl only, glibc and mac are fine. it even trips on nuxt's own error-template.js so its not ur code

no lockfile = npm grabs the bad one on its own
 
the maintainer said that guard was only there to stop a hard native crash from forged input, which really only matters if rollup is parsing untrusted code on a server. might come back later as an opt-in thing instead of default