what approach would you suggest then for prepending the importScripts() line to 
generated webworker js code ? I would prefer to use Clojurescript to write 
webworkers

On Sunday, 30 October 2016 21:10:50 UTC, David Nolen  wrote:
> :preamble is just for prepending copyright / licenses etc. Nothing more. 
> Using it to add code is not recommended and not something we intend to 
> support.
> 
> 
> David
> 
> 
> On Fri, Oct 28, 2016 at 7:07 PM, Matthew Chadwick <math...@gmail.com> wrote:
> any idea why :preamble doesnt seem to work with modular compilation ? I want 
> to prepend importScripts() to the start of my generated js, but only for one 
> module (a webworker)
> 
> 
> 
> --
> 
> 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 clojurescrip...@googlegroups.com.
> 
> To post to this group, send email to clojur...@googlegroups.com.
> 
> Visit this group at https://groups.google.com/group/clojurescript.

-- 
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 https://groups.google.com/group/clojurescript.

Reply via email to