Hi all, I'm working on a package, but I've ran int...
# package-development
o
Hi all, I'm working on a package, but I've ran into an issue where my angular scripts fail to load when Umbraco is **not **in debug mode, it seems that smidge/nuglify is having trouble minifying my angularjs scripts... Has anyone ran into this before?
This is the stack trace, although it doesn't mention which of my angular scripts is causing the issue... https://pastebin.com/eux46r6n (password is "Umbraco")
j
Oh, so many times. Usually when using a JS feature/syntax that the minification library doesn't like. You can stop Smidge from processing your JS by setting bundleOptions to null in your package manifest - see if that works.
o
Jason you life saver! Setting that option to none fixed the issue! Thank you! šŸ˜„
m
I see this issue, or someone else with this issue, every day M-F. 😦
j
It's almost like a .NET web application isn't the best place to be pre-processing CSS and JavaScript šŸ™ƒ
m
I’m glad you said it! šŸ™‚
5 Views