att / rcloud

Collaborative data analysis and visualization
http://rcloud.social
MIT License
430 stars 142 forks source link

do requirejs optimization #619

Open gordonwoodhull opened 10 years ago

gordonwoodhull commented 10 years ago

once requirejs/amd support is merged, use its optimizer on all of the libraries in there.

this can probably be called from the makefile that generates the dependencies bundle. we'll end up with one more bundle.

cscheid commented 10 years ago

This hurts debugging, though.

gordonwoodhull commented 10 years ago

oh right, because it uglifies. hmm, maybe we should finally have some concept of "distribution". eh.

gordonwoodhull commented 10 years ago

Looks like our internal deploy is taking 5-6 seconds just loading require dependencies.

gordonwoodhull commented 10 years ago

there are also source maps: http://requirejs.org/docs/optimization.html#sourcemaps

gordonwoodhull commented 10 years ago

... but they don't help with variables being named a,b,c yet