-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add named exports for classes and enums to ESM output
Resolves #5630
- Loading branch information
Showing
6 changed files
with
70 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import Hls from './hls'; | ||
|
||
export default Hls; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
import Hls from './hls'; | ||
import { Events } from './events'; | ||
import { ErrorTypes, ErrorDetails } from './errors'; | ||
import { Level } from './types/level'; | ||
import AbrController from './controller/abr-controller'; | ||
import AudioTrackController from './controller/audio-track-controller'; | ||
import AudioStreamController from './controller/audio-stream-controller'; | ||
import BasePlaylistController from './controller/base-playlist-controller'; | ||
import BaseStreamController from './controller/base-stream-controller'; | ||
import BufferController from './controller/buffer-controller'; | ||
import CapLevelController from './controller/cap-level-controller'; | ||
import CMCDController from './controller/cmcd-controller'; | ||
import ContentSteeringController from './controller/content-steering-controller'; | ||
import EMEController from './controller/eme-controller'; | ||
import ErrorController from './controller/error-controller'; | ||
import FPSController from './controller/fps-controller'; | ||
import SubtitleTrackController from './controller/subtitle-track-controller'; | ||
|
||
export default Hls; | ||
|
||
export { | ||
Hls, | ||
ErrorDetails, | ||
ErrorTypes, | ||
Events, | ||
Level, | ||
AbrController, | ||
AudioStreamController, | ||
AudioTrackController, | ||
BasePlaylistController, | ||
BaseStreamController, | ||
BufferController, | ||
CapLevelController, | ||
CMCDController, | ||
ContentSteeringController, | ||
EMEController, | ||
ErrorController, | ||
FPSController, | ||
SubtitleTrackController, | ||
}; | ||
export { SubtitleStreamController } from './controller/subtitle-stream-controller'; | ||
export { TimelineController } from './controller/timeline-controller'; | ||
export { KeySystems, KeySystemFormats } from './utils/mediakeys-helper'; | ||
export { DateRange } from './loader/date-range'; | ||
export { LoadStats } from './loader/load-stats'; | ||
export { LevelKey } from './loader/level-key'; | ||
export { LevelDetails } from './loader/level-details'; | ||
export { MetadataSchema } from './types/demuxer'; | ||
export { HlsSkip, HlsUrlParameters } from './types/level'; | ||
export { PlaylistLevelType } from './types/loader'; | ||
export { ChunkMetadata } from './types/transmuxer'; | ||
export { BaseSegment, Fragment, Part } from './loader/fragment'; | ||
export { | ||
NetworkErrorAction, | ||
ErrorActionFlags, | ||
} from './controller/error-controller'; | ||
export { AttrList } from './utils/attr-list'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters