Fork me on GitHub
#cljsjs
<
2016-03-20
>
flyboarder18:03:32

@juhoteperi: how can I tell cljsjs which version of the libraries to use? like dev vs. prod, im trying to use un-minified version

juhoteperi18:03:00

ClojureScript selects one based on optimization mode

juhoteperi18:03:41

advanced minified and non-minified else

juhoteperi18:03:09

if you absolutely have to change that, you could try redefining the foreign-lib in local deps.cljs, but I don't remember if that works

flyboarder18:03:17

ok so, it would seem both versions are coming up in my dev console

flyboarder18:03:26

in the same stack trace

juhoteperi18:03:44

huh, shouldn't be possible

flyboarder18:03:19

oh it’s a different lib

flyboarder18:03:17

so I have this in my build.boot (cljs :optimizations :none :source-map true) and im still getting the minified version of the library

juhoteperi18:03:07

What library is that? Could be some libraries only have minified version

flyboarder18:03:07

The semantic UI that I PR'ed the other day,has both versions

flyboarder18:03:27

Did I miss something in my pr?

juhoteperi18:03:44

build.boot looks correct

flyboarder18:03:17

I see jquery unminified

flyboarder18:03:06

so i build a version of the cljsjs package without minified files and that worked, testing again with minified version