I've noticed that in recent builds, sourcemaps seem to work OK on the first run, but fail on subsequent runs. Needs investigation, but something is off.
Ideally when this is fixed, we should introduce automated tests for it, so that it doesn't break in the future again.
Also while we're at it, I think the Rollup dependency needs upgrading.
I think there's been a regression in the resolution of runtime errors to line numbers, which relates to generation of sourcemaps.
See https://vizhub.com/forum/t/data-are-there-but-i-get-an-uncaught-typeerror/361/5
I've noticed that in recent builds, sourcemaps seem to work OK on the first run, but fail on subsequent runs. Needs investigation, but something is off.
Ideally when this is fixed, we should introduce automated tests for it, so that it doesn't break in the future again.
Also while we're at it, I think the Rollup dependency needs upgrading.