☆
2
pnpm workspace breaks a package that expects a flat node_modules
Migrated a small monorepo from npm to pnpm 9. One of our older internal tools resolves a plugin by doing require.resolve from the project root and now fails, because pnpm does not hoist that dependency. Setting shamefully-hoist=true fixes it, but I would rather not use an option with that name in a new setup. What is the cleaner fix?
0 replies