0.1.0 • Published 6 years ago

reason-wrapper-for-react-player v0.1.0

Weekly downloads
2
License
MIT
Repository
-
Last release
6 years ago

Reason wrapper for react-player

Run Project

npm install
npm start
# in another tab
npm run webpack

After you see the webpack compilation succeed (the npm run webpack step), open up src/index.html (no server needed!). Then modify whichever .re file in src and refresh the page to see the changes.

Build for Production

npm run build
npm run webpack:production

This will replace the development artifact build/<xyz>Index.js for an optimized version.

To enable dead code elimination, change bsconfig.json's package-specs module from "commonjs" to "es6". Then re-run the above 2 commands. This will allow Webpack to remove unused code.