Skip to content

Comment on ClojureScript 1.7: ClojureScript can compile itselfparent

Comments

None of this recent work facilitates compiling ClojureScript into CommonJS modules for use with Node.

http://www.matthewstump.com/misc/2012/06/04/writing-nodejs-m...

Should be really very easy to do, you only need to study what cljs compiler emits and the docs for Google Closure Compiler JS libs.

Can someone this to me? It seems that mfikes (parent) comment, and klibertp's comment seem to contradict each other. Not to mention the examples that glenjamin highlighted.

I have heard similar comments in other places, in that it's not possible to package ClojureScript as a NPM module.

Is it because of the size of the module, or something else?

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.