Fork me on GitHub
#clojurescript
<
2023-09-18
>
Andrea Ambu10:09:12

Any best-practice regarding edn de/serialization to json/js-objects when using namespaced keys? I need js-objects to store on object-store and it'd be great to get the namespaced keys back

p-himik10:09:34

Transit. That's it, that's all you need.

❤️ 3
karol.adamiec16:09:58

hi I think i have issues with cljs compilation. In build file i have mutlitple targets defined. if i try them all at once in shell or babashka parallel task they fail the closure compilation in random places. Is this a known limitation of google closure compiler or should i rather take a hard look at target definitions?

borkdude16:09:47

Probably a matter of using different target folders for each build?

karol.adamiec16:09:37

yeah... as i verbalized the issue it came to me that the output migh land in the same temp folders, and each compilation steps on another one...

karol.adamiec16:09:31

which settings seem relevant to such issue? :asset-path :output-dir :output-to?

karol.adamiec16:09:33

also in general, it should be fine to run MANY closure compile processes at the same time, given they do write to different places... there is no wierd GIL or stuff like that?

karol.adamiec17:09:04

Yes, it was output-dir being set to the same value for each subsystem (duh!!) Thanks a lot @U04V15CAJ for guidance. 🙌

👍 1
karol.adamiec17:09:19

this is what i like to see 😄

💪 1
🕺 1
❤️ 1