Any Google Closure compliant JavaScript can be pulled into the build
process by using the :libs option.

For example:

(build src {:libs ["/foo/bar"]})

would include any JavaScript files under /foo/bar in the build
process.

On Jul 30, 7:02 am, David Powell <djpow...@djpowell.net> wrote:
> The closure-template tools let you take a template, and pre-process it to
> something like:
>
> hello3.soy.js:
>
> goog.provide('example.templates');
> goog.require('soy');
> goog.require('soy.StringBuilder');
> [...]
> example.templates.welcome = function(opt_data, opt_sb) {
> [...]
>
> In my clojurescript, I can put:
>
> (:require [example.templates :as temp])
>
> ...but when I compile the clojurescript with optimizations, I get an error
> from the closure compiler because it doesn't know where to find the
> example.templates.
>
> Is there any way of specifying additional javascript files or paths for
> clojurescript to pass to the closure compiler?
>
> --
> Dave

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to