Issue Description
Build error in @shelby-protocol/player v0.1.1 with Next.js: Fails to resolve export * from "./components"; in dist/index.mjs, causing "Module not found" error. This blocks using components like SimpleShakaVideoPlayer for video streaming integration with Shelby SDK.
Steps to Reproduce
- Create Next.js 14 app:
npx create-next-app@latest my-app --typescript.
- Install:
pnpm add @shelby-protocol/player tailwindcss@4.
- Import:
import { SimpleShakaVideoPlayer } from '@shelby-protocol/player';
// Use in component...
- Run
pnpm dev
Error Log
Module not found: Can't resolve './components'
./node_modules/@shelby-protocol/player/dist/index.mjs (2:1)
> 2 | export * from "./components";
Additional NotesLikely bundling issue (tsup/esbuild missing components in dist). Temporary workaround: Webpack fallback in next.config.js, but not ideal. Thanks for checking!