bhauman / figwheel-main

Figwheel Main provides tooling for developing ClojureScript applications
https://figwheel.org
Eclipse Public License 1.0
640 stars 93 forks source link

Scripting API: build once #328

Open SevereOverfl0w opened 2 years ago

SevereOverfl0w commented 2 years ago

It would be handy to have a build-once scripting API. cljs.build is no longer the best way, as figwheel changes the configs before doing a build. This would make figwheel fit neatly alongside tools.build.

SevereOverfl0w commented 2 years ago

Workaround:

(fig/start {:validate-config false
              ::fig.main/build-once true} build-name)