[ClojureScript] Figwheel build failure for CLJS 1.10.516: Error: Cannot find module '@cljs-oss/module-deps'

2019-02-12 Thread Alan Thompson
Hi - I have a re-frame app that works fine for CLJS 1.10.439, but fails in compile for CLJS 1.10.516. Any suggestions? Here is the working and failing build output for `lein figwheel`: 1.10.439 - works - Figwheel: Validating the configuration found in project.clj

[ClojureScript] Re: How to require a library only if it is on the classpath?

2019-02-12 Thread Yuri Govorushchenko
> That still does not allow you to do anything you couldn't do via the ns form directly. require outside ns is a misleading topic and is still completely static. I guess it's not a blocker for OP because the intention was to do a conditional require during compilation (and not during execution

[ClojureScript] Re: How to require a library only if it is on the classpath?

2019-02-12 Thread Thomas Heller
That still does not allow you to do anything you couldn't do via the ns form directly. require outside ns is a misleading topic and is still completely static. It was just added to allow compiling scripts that don't have a ns form. You still can't do conditionals or run any other code