refactor(packages): move feature presets to subpath exports (#633)

This commit is contained in:
rahim
2026-02-27 17:06:36 -08:00
committed by GitHub
parent 40606ff188
commit c92a9f914f
63 changed files with 266 additions and 187 deletions
+2 -2
View File
@@ -40,11 +40,11 @@ export interface CreatePlayerResult<Store extends PlayerStore> {
*
* @example
* ```ts
* import { features } from '@videojs/core/dom';
* import { createPlayer, MediaElement } from '@videojs/html';
* import { videoFeatures } from '@videojs/html/video';
*
* const { ProviderMixin, ContainerMixin, PlayerController, context } = createPlayer({
* features: features.video,
* features: videoFeatures,
* });
*
* // Provider element: owns the store, provides context to descendants