Clojurians
#cljs-dev
<
2017-09-22
>

This page is not created by, affiliated with, or supported by Slack Technologies, Inc.

bhauman00:09:01

or just a :post-process-hooks [processor1 processor2] where each "processor" is a function takes the compile configuration and has the compile-env already bound.

thheller07:09:43

@bhauman you are basically describing the idea behind shadow-cljs … thats why it has :target :browser, :node-library, :node-script, :npm-module and can easily be extended to more

thheller07:09:06

:target basically defines how the final code is bundled together and takes different configuration accordingly

thheller07:09:59

the example is a bit old but it is create-react-native-app out of the box with no modifications working with specially bundled CLJS code

dnolen12:09:32

@bhauman not particularly interested in a public thing - if there’s some internal hook you’d like to see, then we can talk about that

bhauman13:09:15

@thheller I will look at that

bhauman14:09:12

@dnolen coolio

lxsameer15:09:12

@alexmiller so the only enhancement here is to look for the cljc as well right ?

lxsameer15:09:01

aha , I was a little bit confused over this

alexmiller15:09:45

I mean in Clojure

alexmiller15:09:49

I have no idea in CLJS