-
Notifications
You must be signed in to change notification settings - Fork 790
Reporting Issues
It's important that before submitting any issue that you have a thorough understand of the Quick Start first. Even if you are an experienced ClojureScript developer this is required reading.
It's helpful but not essential to first check on the mailing list or the Freenode #clojurescript IRC channel that the issue hasn't been reported before.
It is essential however to report the bug using ClojureScript only. Downstream tooling often interacts with the ClojureScript compiler in non-trivial ways and the best way to isolate the issue to ClojureScript is to remove them from the report altogether.
cljsbuild is a popular build tool in the ClojureScript community. Removing it from your issue reproducer is a simple matter.
Make a build.clj
file using the same :compiler
settings from your
project.clj that is needed for your issue reproducer.
(require 'cljs.closure)
(cljs.closure/build "path"
;; relevant :compiler settings
)
You can run this script without cljsbuild like so:
lein trampoline run -m clojure.main build.clj
The same approach may be taken for reproducers for REPL issues as demonstrated in the Quick Start.
- Rationale
- Quick Start
- Differences from Clojure
- [Usage of Google Closure](Google Closure)