Fork me on GitHub

I tried to use in Clojurescript but got the following error:

Closure compilation failed with 1 errors
--- node_modules/@stitches/react/dist/index.cjs:2
ES6 transpilation of 'computed getter/setter in an object literal' is not yet implemented.
Is there a good place to follow/be notified when that gets fixed?


@martinklepsch really just set :compiler-options {:output-feature-set :es6}. the default :es5 really only makes sense if you must support officially dead browsers like IE


otherwise the only place to watch for that stuff is the closure-compiler repo directly I guess


I'm compiling CLJS using fighweel-main, is there any way I can set the --source_map_include_content flag on the Closure compiler?


I spose the clojurescript compiler is where I'd want to set it, seems it has no option to include the original source in a source map


I think this will help.

🙏 1

closure-defines control nothing related to source maps. CLJS currently does not support this I believe. there are a couple open issues in Jira regarding this IIRC. shadow-cljs does support this and does it by default.


thanks, I came to the same conclusion