I have wasted way too much time on google with this, and am still new to connect-assets.
So I want to use the build feature and have connect-assets concatenate and minify my javascript. However I can't have it mangling my variable names. There is an option in uglify.js that turns mangling off, but I have no idea how to access those options from this level.
connect-assets -> snockets -> uglify
here is my code:
app.use require('connect-assets')(src: "#{__dirname}/assets", build : true)
line 319 is where the mangling occurs. As there is no conditional logic on it, no there is no option. I would suggest you fork the project and add the option you need.