```
//# sourceMappingURL=app.js.map
```
However, kendo doesn't specify it. If I add it manually, I get one step further, but then Chrome tries to download the file from `myapp.com/src/kendo.core.min.js` instead of getting it from `myapp/kendo/src/js/kendo.core.min.js`. The .map file defines the sourceRoot at the bottom as:
```
`sourceRoot":"../../src/`
```
It works great when I change it to:
```
`sourceRoot":"../src/js/`
```
4 Answers, 1 is accepted
Seems that was a bug in our source map generation. I fixed the path to point to ../src/js/, which is where the sources are found in standard distributions. It will be available in the next build.
You still need to add the sourceMappingURL comments manually, though. We decided to not include it in the source as it causes confusion for many people, in the case the source map isn't found (404 errors in the console, etc).
Regards,
Mihai
Telerik
That's unfortunate, it would certainly be better if we could simply get the sourcemaps for free. It seems like a lot of unnecessary hassle to have to modify vendor's code in order to get this.
Hello and I'm not sure posting at the right position but it seems to fit. I wanted to include culture settings, like:
<script src="telerik/js/cultures/kendo.culture.de-DE.min.js"></script>
<script src="http://kendo.cdn.telerik.com/2016.1.112/js/cultures/kendo.culture.de-DE.min.js"></script>
Both causes the following error:
Failed to load resource: the server responded with a status of 404 (Not Found)
http://kendo.cdn.telerik.com/2016.1.112/js/cultures/kendo.culture.de-DE.min.js.map
There is this ".map" in the end but there is not ".map" in the local directory where the culture files are. I have no idea what this is for. I've seen a similar problem in the .net forum (to which I have no write access). They said there that the problem is only in Chrome. In my situation I have the problem in Safari and (as you see) with a very new Kendo UI version.The error is not shown in Firefox. Even if it works in both browser I don't like to have/see this error. How can I fix it?
The error should not bother you in particular. The source maps are a developer feature, and it won't affect your customers in any way.
We will investigate why the culture source maps are not available on the CDN.
Regards,
Petyo
Telerik