I've encountered an issue while working on an existing project where I'm trying to transfer a portion of it to a different build system using gulp (switching from grunt to gulp). The error seems to be related to the use of '=>' which might be referring to lodash, but I'm not entirely certain.
Here is an example line of code that's causing trouble:
Object.keys(highlightTerms).forEach((k) => { msg = _highlightList(highlightTerms[k], k, msg); });
I can't figure out why this error is being triggered or how I can modify it to be compatible with the gulp builder. This problem is present in several files within the project. Any insights would be greatly appreciated as I haven't been able to find any relevant information so far.