Fork me on GitHub
#cljsjs
<
2016-01-19
>
thomas19:01:04

hello people....

thomas19:01:23

I am still struggling a bit with optimized builds..

thomas20:01:21

where should I be able to find my minified version of the js package I am trying to include?

thomas20:01:45

ok I think I have found the code... and it seems to get minified.

thomas20:01:57

I guess something is wrong with my externs simple_smile

thomas20:01:14

yes.. I am pretty sure there is something wrong with my externs

juhoteperi20:01:30

Put the code somewhere (e.g. update the PR)

snoe20:01:48

Hi, I'm having trouble with nodejs - if I'm using :optimizations :none I can access the required libraries with (js/moment ...) but if I use :optimizations :simple they are not available on global and I see them in js/module.exports however they overwrite each other in exports so if I (:require [cljsjs.moment] [cljsjs.jsdiff])only jsdiff functions are there. Is there anything that can be done?

juhoteperi20:01:00

Hmh, maybe in :simple the files are wrapped in closures so that globals are not accessible globally

juhoteperi20:01:13

Anyway, is there a reason in Node to use anything but :none?

snoe20:01:23

@daraen yeah the problem with :none is that the goog.requires are relative to the executable working path and I don't have control how node is launched (I think there's a cljs jira for it but I can't find it atm)

thomas20:01:01

@juhoteperi: I have pushed my code back to github.

juhoteperi20:01:18

@thomas: Hmm, looks okay.

thomas20:01:51

but my little sample doesn't work :((((

thomas20:01:32

should I do something like a clean?

thomas20:01:52

so that nothing is left over from previous builds?

juhoteperi21:01:02

Boot should take care of that