Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
MEDIA-1298 Changed hls.js import
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkonst committed Apr 19, 2018
1 parent 330085f commit 5d908cc
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion dist/HLSSource.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ var _propTypes = require('prop-types');

var _propTypes2 = _interopRequireDefault(_propTypes);

require('!script-loader!hls.js');
require('!script-loader!hls.js/dist/hls.min.js');

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

Expand Down
16 changes: 8 additions & 8 deletions example/build/bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-hls",
"version": "2.1.0",
"version": "2.1.1",
"description": "React component for HLS player",
"main": "dist/Player.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/new/HLSSource.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { Component } from 'react'
import PropTypes from 'prop-types'
import '!script-loader!hls.js'
import '!script-loader!hls.js/dist/hls.min.js'

class HLSSource extends Component {
constructor () {
Expand Down

0 comments on commit 5d908cc

Please sign in to comment.