webamp/examples/webpack/README.md
2018-04-01 09:09:37 -07:00

689 B

Minimal Example

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

Note: Currently Winamp2-js is published to NPM as a single bundle which includes all of its dependencies. This means that no matter what you do, Winamp2-js is going to bring along it's own React, Redux, JSZip, etc. If you have a use case where you would like Winamp2-js 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/winamp2-js.git
$ cd winamp2-js/examples/webpack/
$ npm install
$ npm run build
$ open index.html