Gate the find_and_replace import behind its feature flag
WHAT
Gate the find_and_replace import behind its feature flag (gon.features.findAndReplace). This is a behavior import, not a separate entry — guard the import so it only loads when the flag is on.
WHY
find_and_replace ships on every page but is only usable when its feature flag is enabled; with the flag off, all users download it for nothing.
SUCCESS METRIC (action-based)
Every-page JS bytes removed when gon.features.findAndReplace is off — the find_and_replace code not loaded for users without the flag, confirmed by coverage.
Edited by 🤖 GitLab Bot 🤖