I've been struggling with this issue for the past 2 days and I'm a bit of a novice when it comes to task runners. I decided to ask for help because I can't seem to figure it out on my own.
Currently, I am using Gulp with Slush generated by this package: https://www.npmjs.com/package/slush-webapp
Running ´gulp serve´ works fine without any issues.
However, when I run ´gulp´, I encounter an error during the JavaScript minification process. The error can be seen here: http://pastebin.com/4mPq2jEU
From what I've observed, the CSS is being minified correctly and the images are loading as expected.
Upon inspecting the console in Chrome, I see an error related to an "undefined function."
I've tried adding the following at the beginning of my .js files (jquery plugins) to resolve the issue:
'use strict';
I've also attempted to use closures, but nothing seems to be working.
Any assistance would be greatly appreciated. Thank you,
Jorge