We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95386f5 commit 7af2ff6Copy full SHA for 7af2ff6
src/main/clojure/cljs/repl/browser.clj
@@ -177,6 +177,10 @@
177
178
(defn send-static
179
[{path :path :as request} conn
180
+ ;; NOTE: :output-to and :output-dir are available here because cljs.cli
181
+ ;; does this - should maybe rethink that, we need a better way to supply
182
+ ;; the main JS file to load because it might not be compiler options :output-to
183
+ ;; i.e. bundler step
184
{:keys [static-dir output-to output-dir host port gzip?] :or {output-dir "out"} :as opts}]
185
(let [output-dir (when-not (.isAbsolute (io/file output-dir)) output-dir)]
186
(if (and static-dir (not= "/favicon.ico" path))
0 commit comments