Replace PHP blocks and inject fusion with https://github.com/Rich-Harris/magic-string to keep source maps accurate