When I develop my site using Visual Studio / IIS Express, everything runs smoothly without any unusual requests or 404 errors.
However, once I publish the site to IIS and try to run it, I start receiving multiple requests for typescript files (.ts), primarily related to RxJs.
Some example requests include:
http://www.example.com/lib/reflect-metadata/Reflect.ts
http://www.example.com/lib/rxjs/src/Subject.ts
http://www.example.com/lib/rxjs/src/Observable.ts
http://www.example.com/lib/rxjs/src/util/toSubscriber.ts
and many more similar requests.
Why is this happening? The lib folder on my IIS site is an exact replica of the one used by IIS Express. One thing worth noting is that my typings folder, tsconfig.json, and typings.json are not included in the published version. Should they be?
Package.json details:
"dependencies": {
// List of dependencies here
},
// Dev dependencies listed as well