vue-aplayer icon indicating copy to clipboard operation
vue-aplayer copied to clipboard

关于hls.js

Open snaill opened this issue 5 years ago • 1 comments

貌似引用hls.js是为了解决m3u8的支持,但hls.js是很大的库,用webpack打包,会有超244k警告,是否可以改用hls-light.js?

snaill avatar May 17 '19 09:05 snaill

WARNING in ./node_modules/vue-aplayer/dist/vue-aplayer.min.js Module not found: Error: Can't resolve 'hls.js' in '/Users/hvitis/Programming/Django/podcasts-template/Podcaster/node_modules/vue-aplayer/dist' @ ./node_modules/vue-aplayer/dist/vue-aplayer.min.js @ ./node_modules/babel-loader/lib??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/player/APlayer.vue?vue&type=script&lang=js& @ ./src/components/player/APlayer.vue?vue&type=script&lang=js& @ ./src/components/player/APlayer.vue @ ./src/stories/Player.stories.js @ ./src sync .stories.js$ @ ./.storybook/preview.js @ multi ./node_modules/@storybook/core/dist/server/common/polyfills.js ./node_modules/@storybook/core/dist/server/preview/globals.js ./.storybook/preview.js ./.storybook/generated-entry.js (webpack)-hot-middleware/client.js?reload=true&quiet=true

hvitis avatar May 01 '20 03:05 hvitis