Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 680 Bytes

File metadata and controls

29 lines (20 loc) · 680 Bytes

react-native-track-player-web

react-native-web partial implementation of react-native-track-player.

Note that this is a partial implementation and it's not production ready.

Usage

This only works with react-native-track-player v2, so until the official release:

yarn add react-native-track-player@next react-native-track-player-web

Targeting the Web

Add the following to your webpack configuration:

module.exports = {
  ..., /* the existing configuration */

  resolve: {
    alias: {
      'react-native-track-player': 'react-native-track-player-web'
    }
  }
};