Skip to content

Commit

Permalink
fix: report correct version (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonocasey authored Sep 17, 2018
1 parent b1a17fa commit 1992300
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/plugin.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import videojs from 'video.js';
import QualityLevelList from './quality-level-list.js';
import {version as VERSION} from '../package.json';

// vjs 5/6 support
const registerPlugin = videojs.registerPlugin || videojs.plugin;
Expand Down Expand Up @@ -50,6 +51,6 @@ const qualityLevels = function(options) {
registerPlugin('qualityLevels', qualityLevels);

// Include the version number.
qualityLevels.VERSION = '__VERSION__';
qualityLevels.VERSION = VERSION;

export default qualityLevels;

0 comments on commit 1992300

Please sign in to comment.