You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
I have compiled some source code with only simple compression using clojurescript. This leads to a rather large source file with source maps. Using a package, I am trying to associate a source map with the source file, but when I do so, it causes the original source to become mangled, causing some random characters to be lost (unsurprisingly causing errors).
The text was updated successfully, but these errors were encountered:
The problem is that this source map seems to have its mappings out of order (some of the relative generated column indices are negative). The library we use to process source maps (mozilla's library) assumes this isn't the case, and croaks. The Source Map spec is vague enough that I can't tell if this is a valid file or not.
If you want to compile it, you have to install leiningen, and run lein cljsbuild once (or auto, if you want to keep the compilation running). If you change the project.clj file, you have to restart the leiningen process (and probably clean the build artifacts by running lein cljsbuild clean).
OK, I think this is now fixed on the sso branch. (sso should get merged to devel pretty soon; because the fix was in the dev bundle it made more sense to do it on this branch which already has dev bundle changes rather than build a new one just for devel.) Thanks for the report, and I hope you get clojurescript working with meteor!
Thanks, Its coming along well, other than the source-map problems, I mostly need to create some clojurescript interfaces to Meteor (and externs files for meteor so that google's closure advanced compilation doesn't mangle the names).