planck-repl / planck

Stand-alone ClojureScript REPL
https://planck-repl.org
Eclipse Public License 1.0
1.03k stars 68 forks source link

Setup deps.cljs for google-closure-compiler-js #932

Open mfikes opened 5 years ago

mfikes commented 5 years ago

When creating a namespace-only JAR (for the purpose of dependencies), the use of google-closure-compiler-js in the planck.bundle namespace trips up cljdoc (and perhaps other tools that attempt to statically analyze things).

Currently, this is worked around by temporarily commenting out the (:require ) before building the JAR. But if we include a deps.cljs, we may be able to work around this, without harming functionality of Planck in any way.

mfikes commented 5 years ago

See https://github.com/planck-repl/planck/blob/687499f23bbfbe47ecbda087053025c1b4410316/planck-cljs/script/build.clj#L49-L50

(We might be able to point it at an empty / stub JS file that is included in the JAR instead of the full jscomp.js.)