Fixed the build warnings.
This commit is contained in:
8
resources/js/types/hls-light.d.ts
vendored
Normal file
8
resources/js/types/hls-light.d.ts
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
// this well reduces hls-vendor from +500KB to +300KB n builds
|
||||
|
||||
declare module 'hls.js/light' {
|
||||
import Hls from 'hls.js';
|
||||
|
||||
export * from 'hls.js';
|
||||
export default Hls;
|
||||
}
|
||||
Reference in New Issue
Block a user