Skip to content

This is a testproject to combine all technologies on dev and prod

License

Notifications You must be signed in to change notification settings

nomiad/jspm17-htmlcomponent-riotjs-es6

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSPM@beta - htmlcomponent - riotjs Sample

This is a testproject to combine all technologies on dev and prod.

For complexity it mixes up these technologies to test them together.

Idea behind

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

Installation

use npm install

Modes

Development

You can look at index.html for a simple development setup. On reload every resource is fetched again (script and ajax script)

Development bundle watcher

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.

Production

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.

About

This is a testproject to combine all technologies on dev and prod

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published