JavaScript Source maps "not used"

I’d found a solution to this in a similar issue a while back: Sourcemaps no longer working as expected with Sage update - hopefully it works for you!