clojurescript

ClojureScript, a dialect of Clojure that compiles to JavaScript http://clojurescript.org | Currently at 1.10.879
Mitch 2020-09-16T00:19:48.498Z

I think I found the answer https://gist.github.com/swannodette/4fc9ccc13f62c66456daf19c47692799:

Simply add a new compiler option :infer-externs true to your compiler config. Now when you build your project you will get a new file in your :output-dir named inferred_externs.js. When you do an advanced build, this externs file will be used.
So, your `inferred_externs` should be in the `:output-dir` of your advanced build. Therefore, you might need to check it in to source control if your build is performed by an agent

David Hansen 2020-09-16T09:44:04.001700Z

Hey, I'm trying to export a module, such that in javascript, it will read like

export default { x: "something", y: "somethingelse"}
the trick being the "default" part. Anyone got experience with something like that?

David Hansen 2020-09-16T09:51:03.003Z

:default seems to do the trick.

Andreas S. 2020-09-16T10:57:31.004200Z

Hello everyone! I have a URL which points to a Site with static text which I want to filter with ClojureScript what would be the simplest way to do that?