Last active
December 23, 2015 23:38
-
-
Save juliangamble/6710878 to your computer and use it in GitHub Desktop.
Clojurescript Source Maps Notes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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