Fork me on GitHub

for direction/discussion w.r.t. cljs.spec.alpha, should I lobby that here or in #cljs-dev?


I’m interested in exploring (and advocating for support for) the capability in CLJS to remove specs when building for deployment

Matti Uusitalo18:01:54

Put them in a separate source folder which isn't part of the production build?


they need to show up in the namespace dependency graph of the application in order to be included at dev time and be rebuilt when the implementations change


I could manually write a namespace that includes all specs I use in my app, and add that as a preload. but that is tedious


How about a my.spec/def macro which expands to sth like when js/goog.asserts.ENABLE_ASSERTS (spec/def ...)?