Yup! You’ll have to write a custom build.ignore
script that checks for changes where you intend them to have effects. This thread’s several example responses are a good starting place for inspiration:
The script is documented in small detail here: File-based configuration | Netlify Docs