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 1969c36 commit 1849c17Copy full SHA for 1849c17
src/main/clojure/cljs/closure.clj
@@ -581,6 +581,8 @@
581
".cljs" ".aot_cache" (util/clojurescript-version)
582
(build-affecting-options-sha path opts))))
583
584
+;; TODO: we use a URL to get a bunch of file paths, the forward slashes probably
585
+;; aren't going to work for Windows
586
(defn cacheable-files
587
([rsrc ext]
588
(cacheable-files rsrc ext nil))
@@ -591,7 +593,11 @@
591
593
(into {}
592
594
(map
595
(fn [[k v]]
- [k (io/file path (str name v))]))
596
+ [k (io/file path
597
+ (if (and (= "cljs/core$macros" name)
598
+ (= :source k))
599
+ (str "cljs/core.cljc")
600
+ (str name v)))]))
601
{:source (str "." ext)
602
:output-file ".js"
603
:source-map ".js.map"
0 commit comments