mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
Live playback was folded into createSimpleHlsEngine (VoD + live, one composition), making the separate createLiveHlsEngine — which only wrapped the same behaviors plus the hls engine itself — redundant, and leaving live-playlist-spike an orphaned experiment with no exports or consumers. Delete both, drop the ./live-hls package export and tsdown entry, and point the sandbox live harness at createSimpleHlsEngine. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
16 lines
563 B
TypeScript
16 lines
563 B
TypeScript
import type { UserConfig } from 'tsdown';
|
|
import { defineConfig } from 'tsdown';
|
|
import { type PackageBuildMode, packageBuildConfig, packageBuildModes } from '../../build/tsdown.ts';
|
|
|
|
const createConfig = (mode: PackageBuildMode): UserConfig => ({
|
|
...packageBuildConfig(mode, 'neutral'),
|
|
entry: {
|
|
index: 'src/index.ts',
|
|
dom: 'src/dom.ts',
|
|
hls: 'src/playback/engines/hls/index.ts',
|
|
'background-video': 'src/playback/engines/background-video/index.ts',
|
|
},
|
|
});
|
|
|
|
export default defineConfig(packageBuildModes.map((mode) => createConfig(mode)));
|