Fork me on GitHub
#cljsjs
<
2016-08-31
>
flyboarder18:08:01

@juhoteperi How can I create a foreign-lib that has multiple files?

juhoteperi18:08:31

@flyboarder Currently you need to write the deps.cljs file by hand, the task only works with single file

flyboarder18:08:14

@juhoteperi I am following, this: https://github.com/clojure/clojurescript/wiki/Packaging-Foreign-Dependencies but it doesnt mention multiple :file are they a vector?

flyboarder18:08:01

I am trying to package ace editor, but it dynamically loads js files, which are currently just not happening

juhoteperi18:08:53

each file would have separate map in foreing-libs vector

juhoteperi18:08:04

and provide different foreign-dep "namespaces"

juhoteperi18:08:16

and one foreign-dep would probably require the others

juhoteperi18:08:52

like in the jquery ui autocomplete example in the end of the page

flyboarder18:08:27

ok thanks, ill go that route