I include moment in my ASPNET BundleConfig
"~/Scripts/bootstrap.min.js",
"~/Scripts/moment-with-locales.min.js",
I have two web servers:
- A: Windows Server 2008, IIS 7.5, .NET 4.6.2
- B: Windows Server 2012, IIS 8.0, .NET 4.6.2
When using B, in Firebug, I see the GET for both come back as 200 OK, but in the Console I see "moment is not defined".
I've also tried plain old moment.js in place of -with-locales but I get the same error.
Furthermore, the failure does not happen on A.
How could the webserver matter such that the file loads in the browser but the object isn't there?