From the “I’m shit at command line” category
brew install ag- Ignore files that are autogenerated. Also honours .gitignore!
cat 'android.bundle.js' > .ignore ag MY_SEARCH_TERM- Profit!
some-app/some-node-file.js
5: username: 'MY_SEARCH_TERM',
Nice, fast, clickable results in vscode.