ReactiveX/RxJS 5 in the browser without any loaders?
<p>How do you load RxJS in an old javascript application which does not use any loaders?<br>
For RxJS 4.x I could simply do it like this:</p>

<pre><code>&lt;script src="//cdnjs.cloudflare.com/ajax/libs/rxjs/4.0.7/rx.lite.min.js"&gt;&lt;/script&gt; 
</code></pre>

<p>What about RxJS 5? Their documentation assumes that you are using some kind of loader that will take care of everything, but for the intermediate step for legacy application when there is no loader, just files packed at build time?</p>

<p>They also mention ability to create your own bundle by including only the functions you use for "size-sensitive bundling" which sounds great.<br>
So should i just create an entry point file and then add it to my build process and use some kind of tool (browserify/gluejs/webmake) to build everything into a single file that as in RxJS4 would expose Rx (or simply Observable) as global variable?, eg:</p>

<pre><code>// run this through some tool to make it available in browser simply as Observable
var Observable = require('rxjs/Observable').Observable;
require('rxjs/add/operator/map');
exports=Observable
</code></pre>