videojs / videojs-contrib-hls

HLS library for video.js
http://videojs.github.io/videojs-contrib-hls/
Other
2.84k stars 793 forks source link

不能使用require的方式引入?? 想用webpack打包发现报错 #1276

Closed pollux2015 closed 7 years ago

pollux2015 commented 7 years ago

Description

不能使用require的方式引入?? 想用webpack打包发现 image image

gkatsev commented 7 years ago

If I understand the google translate correctly, you're trying to use this project with webpack and it isn't working. Unfortunately, there are some issues with this due to how we built this project. There's a lot of discussion and work-arounds in #600. Unfortunately, refactoring the project to provide support for webpack without configuration changes has proven non-trivial.