Where does turbopack live in node_modules?
Unanswered
Spectacled bear posted this in #help-forum
Spectacled bearOP
I would like to mess around with it in my project and see how it works. I see some rust files in the nextjs repo, but I could not figure out how it gets executed.
6 Replies
@Spectacled bear I would like to mess around with it in my project and see how it works. I see some rust files in the nextjs repo, but I could not figure out how it gets executed.
those files get compiled into a binary and then invoked by ffi most probably or some other interface
@@ts-ignore those files get compiled into a binary and then invoked by ffi most probably or some other interface
Spectacled bearOP
I don’t see ffi anywhere in the repo
@Spectacled bear I don’t see ffi anywhere in the repo
then they might be using some other way to do it
you can read source code of
next and its --turbo flagSpectacled bearOP
Ok I’ll get back to you on this