react-gif-player
Version:
React component swaps still image with preloaded GIF on click
12 lines (7 loc) • 614 B
Markdown
## Contribute
Contributions are welcome. If the change you'd like to implement is a new feature, please open an issue first.
### Build
To install build dependencies, run `npm install`.
Run webpack with `npm run build`. Built files can be found in the `dist/` directory.
### Test
The project is configured with webpack-dev-server. You can run `npm run dev` to start the dev server. This will build the module, watch the source for changes, and serve `example.html` from http://localhost:8080 by default, or a different port if 8080 is unavailable. Source changes will be reflected automatically in the browser.