shamefully-hoist=true 什么作用
看了下pnpm文档,也没撒示例。。。
https://pnpm.io/npmrc#shamefully-hoist
By default, pnpm creates a semistrict node_modules, meaning dependencies have access to undeclared dependencies but modules outside of node_modules do not. With this layout, most of the packages in the ecosystem work with no issues. However, if some tooling only works when the hoisted dependencies are in the root of node_modules, you can set this to true to hoist them for you.
能举个实际的简单的例子吗
19
收起
正在回答 回答被采纳积分+1
前端高级工程师(大前端)
- 参与学习 303 人
- 解答问题 391 个
全新打造“技术成长&职业破局”双高体系,深度打通“全栈 + 全流程 +多端+ 提效+AI赋能”,递进式锤炼思维与高阶技能,高效实现能力跃迁,助力成为“驾驭全局,深广兼备,打通多端全栈”的高级工程师
了解课程
恭喜解决一个难题,获得1积分~
来为老师/同学的回答评分吧
0 星