v1.56.106: fix the notification bell (and all island animations). Root cause via local repro + browse console: motion's animate() reads process.env.NODE_ENV, but Vite LIBRARY builds don't replace it (unlike app builds), so it threw 'ReferenceError: process is not defined' at runtime. The bell calls enter() synchronously in the dropdown's ref, so the throw aborted the <Show> child and the dropdown never rendered (clicking did nothing); other components call enter() in a queueMicrotask so they rendered but silently lost their animation. Fix: define process.env.NODE_ENV='production' in islands/vite.config.ts. Rebuilt islands.js (0 process refs). VERIFIED locally: bell click opens the dropdown, no console errors. musl ReleaseSafe exit 0; test 646 pass / 1 pre-existing fail.
$ koh steal kepr.uk/kepr@f90115658475
·
parent: 9c5e3024e32b
discussion
log in to leave a comment.