webamp/examples/webpack
2024-05-07 16:22:32 -07:00
..
index.html Format example html 2024-05-07 16:22:32 -07:00
index.js Enable top-level lint 2022-03-06 23:05:11 -08:00
package.json Update examples to point to new 1.5.0 release 2021-07-31 13:44:41 -07:00
README.md Move examples to their own directory 2020-07-03 22:06:29 -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