A not so pretty but viable solution is to add a def
or defn
above your defproject
that holds the standard parameters that you are reusing, eg: (Not spellchecked nor functioning example)
(def defaults
"Returns default compiler options"
{:language-in :ecmascript5
:foreign-libs [{:file "third-party/mutation-summary/mutation-summary.js"
:provides ["MutationSummary"]}]})
And then to merge
that map with the custom values:
:builds {:dev {:source-paths ["src-cljs"]
:compiler (merge defaults {:pretty-print true})