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?
Owain Jones
03/21/2023, 1:46 PM
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")
Owain Jones
03/21/2023, 1:46 PM
j
Jason
03/21/2023, 1:51 PM
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
Owain Jones
03/21/2023, 1:56 PM
Jason you life saver! Setting that option to none fixed the issue! Thank you! š
m
Mark Drake
03/30/2023, 7:01 PM
I see this issue, or someone else with this issue, every day M-F. š¦
j
Jason
04/04/2023, 1:52 PM
It's almost like a .NET web application isn't the best place to be pre-processing CSS and JavaScript š