Skip to content

Instantly share code, notes, and snippets.

@postspectacular
Created July 3, 2016 01:49
Show Gist options
  • Save postspectacular/4e12129175e447a39a6fda103570b83a to your computer and use it in GitHub Desktop.
Save postspectacular/4e12129175e447a39a6fda103570b83a to your computer and use it in GitHub Desktop.
STL mesh viewer & WebWorker example
(defproject stlmeshviewer "0.1.0-SNAPSHOT"
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/clojurescript "1.8.51"]
[thi.ng/geom "0.0.1178-SNAPSHOT"]
[reagent "0.5.1"]]
:plugins [[lein-cljsbuild "1.1.3" :exclusions [[org.clojure/clojure]]]]
:clean-targets ^{:protect false} ["resources/public/js" "target"]
:cljsbuild
{:builds
[{:source-paths ["src"]
:id "min"
:compiler
{:optimizations :advanced
:output-to "resources/public/js/dummy.js"
:modules {:cljs-base {:output-to "resources/public/js/base.js"}
:app {:output-to "resources/public/js/app.js"
:entries #{"meshviewer.core"}}
:meshworker {:output-to "resources/public/js/meshworker.js"
:entries #{"meshworker"}}}}}]})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment