Hi All, I'm writing some atom (the editor) package with ClojureScript. And i faced dependency load issue.
When compiled ClojureScript produces file like this (main.js): goog.addDependency("base.js", ['goog'], []); goog.addDependency("../cljs/core.js", ['cljs.core'], ...) goog.addDependency("../clojure/browser/event.js", ...) Obviously, ClojureScript heavily depends on Google Closure dependency management. But, to be able to use Google Closure i need to include goog/base.js file. The only way that i found is to add to goog/base.js: module.exports = goog and add to main.js: require('./goog/base.js') This is very bad approach, because these files are generated - so they can be overridden. Also, release compilation will not include these lines. The question is how can i use both these dependency systems? Or is it possible to use ClojureScript w/o Google Closure? Please advice, thanks! -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojurescript+unsubscr...@googlegroups.com. To post to this group, send email to clojurescript@googlegroups.com. Visit this group at http://groups.google.com/group/clojurescript.