Fork me on GitHub
#shadow-cljs
<
2019-03-28
>
heyarne13:03:37

I'm thinking about writing an in-browser ClojureScript REPL with some extra goodies (very focused on a specific task; essentially if *1 points to a specific kind of data, this data is displayed)

heyarne13:03:59

I have no prior experience with self-hosted ClojureScript; where would I start?

thheller14:03:23

I don't know much about self-hosted myself, hurts my head thinking about it 🙂

Nolan20:03:22

did i see recently that :node-library targets could be made single-file or am i imagining things?

Nolan20:03:01

closely related to this: https://github.com/thheller/shadow-cljs/issues/297. currently i deploy aws lambdas by copying and zipping all of node_modules. cant tell if there was ever a final decision about allowing the source files to basically just be concatenated or if that introduced edge cases to the point of not being worthwhile

thheller21:03:03

@nolan I worked on that a bit here https://github.com/thheller/shadow-cljs/issues/290 but I honestly don't recommend using it

👍 4
thheller21:03:38

you could use something like https://github.com/zeit/ncc that'll work a bit more reliable

Nolan21:03:16

got it. not a major thing for me currently, but foresee a few lambdas having unnecessarily larger node_modules in the future. thanks a million for the guidance as always @thheller