diff --git a/project.clj b/project.clj index e6a4069..61164a9 100644 --- a/project.clj +++ b/project.clj @@ -3,9 +3,22 @@ :url "http://example.com/FIXME" :license {:name "EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0" :url "https://www.eclipse.org/legal/epl-2.0/"} - :dependencies [[org.clojure/clojure "1.11.1"]] - :plugins [[lein-cljfmt "0.8.0"]] + :dependencies [ + [org.clojure/clojure "1.11.1"] + [org.clojure/clojurescript "1.11.4"] + ] + :plugins [ + [lein-cljfmt "0.8.0"] + [lein-cljsbuild "1.1.8"] + ] :repl-options {:init-ns ludus.core} :main ludus.core :profiles {:uberjar {:aot :all}} + :cljsbuild { + :builds [{ + :source-paths ["src/ludus"] + :compiler { + :output-to "target/js/main.js" + :optimizations :none + :pretty-print true}}]} )