Upgrade to rollup 4
Closes https://github.com/projectblacklight/spotlight/issues/3176
@marlo-longley could you please rebase this whenever you get a chance? Also, I'm slightly confused why the bundled output would change? When you rebase could you confirm that your local repo doesn't have any modified JS? It might simply be differences in Rollup or we forgot to rebundle at some point? Not a big deal, just a mystery to me. Thanks!
This is now rebased.
To answer the question from @taylor-steve, it looks like yes there was 1 minor change to the bundled JS after the reabse. I also tried this on a fresh branch based off main which resulted in the same diff. I don't know the exact reason behind this change in the delimiter logic but it must be something internal to the new version of Rollup, which in turn triggered a slightly different JS bundle. If you expand the file diffs in this PR forspotlight.js and spotlight.esm.js, you will see that is the only change.
Thanks for resolving the mystery @marlo-longley