webamp/examples/webpack
Jordan Eldredge 27ead4a30b RIP rawgit
2018-10-09 11:11:54 -07:00
..
index.html Add Webpack example 2018-04-01 09:09:37 -07:00
index.js RIP rawgit 2018-10-09 11:11:54 -07:00
package.json Bump version to 1.2.0 2018-09-24 16:44:59 -07:00
README.md Start rename transition 2018-04-14 11:44:24 -07:00

Minimal Example

This example includes Webamp in a Webpack bundle. The audio file and skin are fetched from a free CDN at run time.

Note: Currently Webamp is published to NPM as a single bundle which includes all of its dependencies. This means that no matter what you do, Webamp is going to bring along it's own React, Redux, JSZip, etc. If you have a use case where you would like Webamp to share some or all of these dependencies with your own application, please file an issue and I can look into it.

To try it out:

$ git clone git@github.com:captbaritone/webamp.git
$ cd webamp/examples/webpack/
$ npm install
$ npm run build
$ open index.html