Fork me on GitHub
#clojure-spec
<
2020-01-24
>
lilactown17:01:07

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

lilactown17:01:12

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?

lilactown18:01:09

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

lilactown18:01:44

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

vemv12:01:00

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