Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

turbopack support #266

Open
wladpaiva opened this issue Jun 14, 2024 · 3 comments
Open

turbopack support #266

wladpaiva opened this issue Jun 14, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@wladpaiva
Copy link

By default, when using turbopack dev it throws an error

@apps/www:dev: [next]  ⨯ ModuleBuildError: ./apps/@www/videos/payments.mp4
@apps/www:dev: [next] Unknown module type
@apps/www:dev: [next] This module doesn't have an associated type. Use a known file extension, or register a loader for it.
@apps/www:dev: [next] 
@apps/www:dev: [next] Read more: https://nextjs.org/docs/app/api-reference/next-config-js/turbo#webpack-loaders
@ryanleecode
Copy link

+1

@luwes
Copy link
Collaborator

luwes commented Jun 27, 2024

Thanks for reporting!

yes, for now turbopack doesn't support inline webpack loaders which next-video uses for the video type.

we might need to export this as a separate package to make this to work.
not sure if we'll get to this before Turbopack reaches parity.

@luwes luwes added the enhancement New feature or request label Jun 27, 2024
@luwes
Copy link
Collaborator

luwes commented Nov 1, 2024

I did some digging again and the blocker is Turbopack requires support for importing binaries (raw) files (mp4's).
vercel/next.js#72147

@luwes luwes self-assigned this Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants