From 60a222c36f293c132954389176647ee2dd906094 Mon Sep 17 00:00:00 2001 From: Andrea Richiardi Date: Wed, 14 Feb 2018 14:37:50 -0800 Subject: [PATCH] Use :source-map-timestamp false for REPL evaluation This is necessary in order to have source maps that do not have ?rel= in them. This patch needs CLJS-2493. --- src/cljs/snapshot/lumo/repl.cljs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cljs/snapshot/lumo/repl.cljs b/src/cljs/snapshot/lumo/repl.cljs index 3a79f4b9..6ab0e203 100644 --- a/src/cljs/snapshot/lumo/repl.cljs +++ b/src/cljs/snapshot/lumo/repl.cljs @@ -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})))