Tweaked macro replacement for source map removal