Well maybe monkeypatching the require function isn't so bad, from there the base64 strings can be converted https://github.com/nodejs/node/blob/master/lib/module.js#L653-L668 my exploration continues...
I have investigating again in the instrument
problem and I have noticed this:
(filter #(clojure.string/includes? (str %) "cljs/spec") (gobj/getKeys lumo.internal.embedded.resources))
("cljs/spec/alpha$macros.cache.json"
"cljs/spec/alpha$macros.js"
"cljs/spec/alpha.cljc"
"cljs/spec/alpha.cljs"
"cljs/spec/alpha.cljs.cache.json"
"cljs/spec/alpha.js"
"cljs/spec/gen/alpha$macros.cache.json"
"cljs/spec/gen/alpha$macros.js"
"cljs/spec/gen/alpha.cljc"
"cljs/spec/gen/alpha.cljs"
"cljs/spec/gen/alpha.cljs.cache.json"
"cljs/spec/gen/alpha.js"
"cljs/spec/test/alpha$macros.cache.json"
"cljs/spec/test/alpha$macros.js"
"cljs/spec/test/alpha.cache.json"
"cljs/spec/test/alpha.cljc"
"cljs/spec/test/alpha.cljs"
"cljs/spec/test/alpha.js"
"target/cljs/spec/alpha.cljc"
"target/cljs/spec/alpha.cljs"
"target/cljs/spec/alpha.cljs.cache.json"
"target/cljs/spec/alpha.js"
"target/cljs/spec/gen/alpha.cljc"
"target/cljs/spec/gen/alpha.cljs"
"target/cljs/spec/gen/alpha.cljs.cache.json"
"target/cljs/spec/gen/alpha.js"
"target/cljs/spec/test/alpha.cljc"
"target/cljs/spec/test/alpha.cljs")
Files are kind of duplicated and embedded from target
as well.Nice catch
Lets fix that
But the instrument problem is unrelated to embedded resources
uhm ok
😄
there is only one "cljs/spec/test/alpha$macros.cache.json"
too
@anmonteiro which ones are the "correct" one, the ones from cljs
?