Created
April 25, 2019 14:52
-
-
Save monetashi-io/9672604ad70621bfde7e090d67121b54 to your computer and use it in GitHub Desktop.
This file contains 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
;; shadow-cljs configuration | |
{ | |
:nrepl {:middleware [refactor-nrepl.middleware/wrap-refactor]} | |
;; remove :dev alias on production deploy | |
:deps {:aliases [:dev]} | |
:builds | |
{:dev {:target :node-script | |
:main io.dappmeister.swarm/main | |
:compiler-options {:optimizations :simple | |
;; https://github.com/thheller/shadow-cljs/issues/444#issuecomment-466823734 | |
;; This allows for the inclusion of | |
;; js/rs.js in a class way. | |
:output-feature-set :es6 | |
} | |
:output-to "out/server.js" | |
:devtools {:before-load-async io.dappmeister.swarm/stop | |
:after-load io.dappmeister.swarm/start} | |
} | |
:test {:target :node-test | |
:output-to "out/server-tests.js" | |
:autorun true | |
}} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment