Skip to content

Instantly share code, notes, and snippets.

@juliangamble
Last active December 23, 2015 23:38
Show Gist options
  • Save juliangamble/6710878 to your computer and use it in GitHub Desktop.
Save juliangamble/6710878 to your computer and use it in GitHub Desktop.
Clojurescript Source Maps Notes
Here is the intro link:
http://swannodette.github.io/2013/09/15/source-maps/
Note that there are seven things to check in the project.clj
1. Clojurescript dependency version [org.clojure/clojurescript "0.0-1889"]
2. :id "advanced"
3. :optimizations :advanced
4. :pretty-print false
5. :output-dir "out"
6. :output-to "main.js"
7. :source-map "main.js.map"
Here is the first page in the tutorial
https://github.com/magomimmo/modern-cljs/blob/master/doc/tutorial-01.md
Things to Note:
* Bug in sourcemap paths - ie assumes project path is the same as URL path
http://dev.clojure.org/jira/browse/CLJS-591
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment