I am using pnpm as package manager.
Turbo to build by project.
I am using typescript.
Everything is working fine but the issue is as follows.
I have to pnpm install --prod
to exclude dev dependencies that work perfectly, but when I don’t have the dev dependencies the turbo build
starts failing.
I tried installing Turbo globally but that doesn’t work because it needs all the types and dev dependencies to complete the build successfully.
I couldn’t find a way to exclude the dev dependencies safely while the build process also not get effected.
I am new to turbo and pnpm. Need assistance, thanks in advance.