[aerogear-dev] Bundling Dependencies

Kris Borchers kris at redhat.com
Mon Jul 8 09:07:54 EDT 2013


The other issue with that way though is that the core file is useless on its own.

On Jul 8, 2013, at 8:04 AM, Douglas Campos <qmx at qmx.me> wrote:

> On Mon, Jul 08, 2013 at 07:03:07AM -0500, Kris Borchers wrote:
>> Do I bundle those files into AeroGear.js as part of the build when
>> those adapters are included or not? The reason I did not is because
>> they are external dependencies and I didn't want them bloating the
>> file size just like we do with jQuery. That said, it's obviously easy
>> to not realize you need those files, especially if you grab
>> AeroGear.js and don't intend on using the Notifier bits or just grab
>> it and throw it in a page and see those errors as qmx did.
> Lemme turn it the other way around: why don't we have aerogear.js being
> the core bits, and aerogear-notifier.js as a separate thing?
> 
> I mean, all those dependencies should be opt-in instead of opt-out IMO
> 
> -- 
> qmx
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev




More information about the aerogear-dev mailing list