This is a testproject to combine all technologies on dev and prod.
For complexity it mixes up these technologies to test them together.
We want to use htmlcomponent library to load independent librarys. One of these librarys
is riotjs which then loads its tags. Finally this should all be bundled up and work
with a single js file.
Project itself depends on dependency management
use npm install
You can look at index.html for a simple development setup. On reload every resource is fetched again (script and ajax script)
The second mode is to execute npm build-watch
.
Now a watcher service bundles your scriptfile to bundle.js and injects the configuration
into jspm.config.js.
The final stage is production mode where there is only a script include at the bottom.
It has to be build with npm build-prod
.
There is a index-prod.html where all development sources are gone.