BorisMoore / jsrender

A lightweight, powerful and highly extensible templating engine. In the browser or on Node.js, with or without jQuery.
http://www.jsviews.com
MIT License
2.67k stars 339 forks source link

Incomplete jsrender.min.map file #362

Closed yahyaerturan closed 3 years ago

yahyaerturan commented 3 years ago

I have an error in console about jsrender.min.map file:

DevTools failed to load SourceMap: Could not parse content for http://localhost/dist/js/jsrender.min.js.map: Unexpected token < in JSON at position 0

When I checked the file, it seems incomplete.

BorisMoore commented 3 years ago

Ah, thanks for calling this out. This is a repeat of a problem that occurred once before (version v1.0.6) where the jsrender.min.map file is somehow getting truncated during the final build process. I'll probably need to release a new version (v1.0.9) to fix this on the CDNJS site.

But meantime you can get a valid jsrender.min.js.map file here:

https://www.jsviews.com/download/jsrender.min.js.map

(also linked from the https://www.jsviews.com/#download page).

Let me know if that version works correctly for you...

BorisMoore commented 3 years ago

This has been resolved in v1.0.9