data_readers.cljc doesn't provide a way to have target-specific behaviour

Description

I would like to have a data_readers.cljc file that provides tagged-literals for clojure and clojurescript.

This should work for the contents of data_readers.cljc - as it does in clojure

{foo/bar #?(:clj my.project.foo/bar :cljs my.project.foo/baz)}
but an error is thrown

conditional reading has not been enabled by the cljs compiler

Environment

None

Activity

Show:
Henry Widd
January 28, 2021, 7:55 AM

started work on this

feedback welcome. I will do some tests then create a patch

Assignee

Unassigned

Reporter

Henry Widd

Labels

None

Approval

None

Patch

None

Priority

Major