Using Starlight with Grunt
This negates the need to include the ~800k Babel browser lib in your page.
To do this, you'll need to install the Starlight Grunt plugin. You'll also need Babel and to support Chrome you'll also need Babel's destructuring transform.
Then, in your Gruntfile:
All you need to include in the page is the Starlight runtime and your built script, plus any markup required by your app.
Note that you do not need to include Babel in the page when building in advance.
See also: Grunt counter app example
Remember to set which file will execute first using
See also: Grunt with modules example