Skip to content

Commit 9c8822c

Browse files
brandonocaseymisteroneill
authored andcommitted
fix: Properly expose plugin version (#80)
1 parent 6eb7818 commit 9c8822c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/plugin.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import videojs from 'video.js';
22
import window from 'global/window';
3+
import {version as VERSION} from '../package.json';
34

45
const defaults = {
56
align: 'top-left',
@@ -355,7 +356,7 @@ const plugin = function(options) {
355356
});
356357
};
357358

358-
plugin.VERSION = '__VERSION__';
359+
plugin.VERSION = VERSION;
359360

360361
registerPlugin('overlay', plugin);
361362

0 commit comments

Comments
 (0)