Source maps break user-defined javascript namespaces

Description

With source maps on, user-defined javascript modules are broken:

project.clj:

foo.cljs:

bar.js:

Compilation throws the error:

Deleting one line from project.clj fixes it:

See https://github.com/fivetran/cljs-source-map-breaks-js

Environment

CLJS 2030

Assignee

David Nolen

Reporter

George Fraser

Labels

None

Approval

None

Patch

None

Priority

Major
Configure