Hey there, I'm encountering a strange issue with my project. Everything runs smoothly when I run it in Developer mode using `grunt server`. However, when I try to run it in production mode with `grunt build`, I encounter an error:
Uncaught SyntaxError: In strict mode code, functions can only be declared at top level or immediately within another function
Does anyone have any insights on what might be causing this? Any help would be greatly appreciated!
P.S. I didn't include the actual code snippet here as the JavaScript is spread across multiple files, but you can find the project link here.