Require hls.js from npm (#456)

* hlsjs

* Fix webpack libraryTarget config
This commit is contained in:
Bill Thornton 2019-09-11 05:35:41 -04:00 committed by dkanada
parent 120b3106aa
commit ed34530b1e
7 changed files with 27 additions and 8768 deletions

View file

@ -4,6 +4,11 @@
// Use define from require.js not webpack's define
var _define = window.define;
// jstree
var jstree = require("jstree");
require("jstree/dist/themes/default/style.css");
_define("jstree", ["jQuery"], function() { return jstree; });
// hlsjs
var hlsjs = require("hls.js");
_define("hlsjs", function() { return hlsjs; });