From 797454a3517371d8abe7c7879bd4e5cccd130ab9 Mon Sep 17 00:00:00 2001 From: "Ray.Hao" <1490493387@qq.com> Date: Sun, 8 Nov 2026 00:41:47 +0800 Subject: [PATCH] =?UTF-8?q?chore(npmrc):=20=E6=B3=A8=E6=98=8E=E4=BE=9D?= =?UTF-8?q?=E8=B5=96=E6=8F=90=E5=8D=87=E7=9A=84=E5=8E=9F=E5=9B=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - uni-app 编译期按扁平 node_modules 查找依赖,隔离结构会报模块找不到 --- .npmrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.npmrc b/.npmrc index c483022..6aad287 100644 --- a/.npmrc +++ b/.npmrc @@ -1 +1,2 @@ -shamefully-hoist=true \ No newline at end of file +# uni-app 编译期按扁平 node_modules 查找依赖,pnpm 默认的隔离结构会报 Module not found +shamefully-hoist=true