Skip to content
This repository has been archived by the owner on Jun 4, 2022. It is now read-only.

Commit

Permalink
Use :source-map-timestamp false for REPL evaluation
Browse files Browse the repository at this point in the history
This is necessary in order to have source maps that do not have ?rel= in
them. This patch needs CLJS-2493.
  • Loading branch information
arichiardi committed Feb 14, 2018
1 parent 300d01b commit 60a222c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/cljs/snapshot/lumo/repl.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -1185,7 +1185,8 @@
(select-keys @app-opts [:verbose :static-fns :fn-invoke-direct :checked-arrays])
(if expression?
(merge {:context :expr
:def-emits-var true}
:def-emits-var true
:source-map-timestamp false}
(when (and form (load-form? form))
{:source-map true}))
{:source-map true})))
Expand Down

0 comments on commit 60a222c

Please sign in to comment.