Antonin Hildebrand

Results 134 comments of Antonin Hildebrand

I dug deeper into this and I have some bad news. So far I identified following problems: 1) I used to think that def-ing static config maps[1] is DCE-friendly. Unfortunately...

Ok, I was able to shave off quite some dead weight: https://travis-ci.org/binaryage/cljs-devtools/builds/221500541#L333-L337 The small difference between NO_DEBUG and NO_REQUIRE is caused by [requiring](https://github.com/binaryage/cljs-devtools/blob/527072690f67db17cbedec943f3c1b1a3b575d27/src/lib/devtools/util.cljs#L3) `goog.userAgent`. So even google closure library authors...

Wait, I was too fast. It didn't work as expected.

Unfortunately when the library is packaged as maven dependency the [optional requires](https://github.com/binaryage/cljs-devtools/commit/2c32e41f1c7b13c9a404d4d80b39b37eda729163#diff-87182341560ecab47ddb34421cbb1efbL11) didn't work. At least I implemented a compile-time warning. The solution is to use `:preloads` compiler option or...

@aisamu Just to add... Your sizes of compiled files are consistent and what I would expect with https://github.com/binaryage/cljs-devtools/commit/527072690f67db17cbedec943f3c1b1a3b575d27. You would just see a runtime error when running a dev build...

I'm not a timbre user (yet), but I think OP's request can be implemented by a rather simple wrapper macro (in user code) and a modified console appender. For example...

I'm sorry I have a lot of [other](https://github.com/binaryage/dirac) [things](https://github.com/binaryage/cljs-devtools) on my plate right now. Don't expect a PR from me.

In theory Dirac machinery should be able to do that, but nobody has ever tried that before I guess. The idea is to: 1. install Dirac Runtime into your lumo...

@arichiardi Cool! Don't forget to let me know how it went. If you hit a road block, you could share a demo project and I would try to fix it....

This is my latest apis.json: https://www.dropbox.com/sh/bkatyx0f21w8ioo/AABHxoL0pu_UUdxMVRZiadXUa?dl=0 @noitcudni ^^^