-
Notifications
You must be signed in to change notification settings - Fork 7
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
[Feature request]: next dev --turbo
support
#54
Comments
next dev --turbo
support
I agree! However, it seems to be not really feasible at the moment. Since Turbopack isn't configurable through plugins yet, our only options to provide rudimentary support for Turbopack would be to either introduce a post-build script that the user runs manually, which would only work for If it is run after the build script is done with static files such as ".next/static/chunks/**/*.js", which seems to be unlikely, then we can make it work. Otherwise, we may as well just wait for Turbopack's plugin support. At the moment though, since I hope you understand the situation... |
@leerob, any updates on when Turbopack will support plugins? |
Hey! It supports some today: https://nextjs.org/docs/app/api-reference/next-config-js/turbo#webpack-loaders |
@leerob, thanks for the response. My understanding of loaders vs plugins is that loaders only allow you to transform a single file whereas plugins allow customization over build process. See more here). I think the next serwist plugin requires more customization over the build process than just modifying single files. |
Which project is this feature request for?
@serwist/next
Describe the feature you'd like to request
It would be awesome to have a version of Serwist that works with turbopack.
Describe the solution you'd like
https://turbo.build/pack/docs/features/customizing-turbopack#webpack-loaders-for-nextjs
Describe alternatives you've considered
Webpack 😄
The text was updated successfully, but these errors were encountered: