Skip to content

Commit 0d78c3f

Browse files
bensudnolen
authored andcommitted
CLJS-1466: Improperly munged output path for GClosure JavaScript
1 parent 85d41cf commit 0d78c3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/clojure/cljs/closure.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1208,7 +1208,7 @@
12081208

12091209
(defn lib-rel-path [{:keys [lib-path url provides] :as ijs}]
12101210
(if (nil? lib-path)
1211-
(str (string/replace (first provides) "." File/separator) ".js")
1211+
(util/ns->relpath (first provides) "js")
12121212
(if (.endsWith lib-path ".js")
12131213
(util/get-name url)
12141214
(let [path (util/path url)]

0 commit comments

Comments
 (0)