vite-plugin-theme icon indicating copy to clipboard operation
vite-plugin-theme copied to clipboard

monorepo 项目提升依赖至root, 会导致context.injectClientPath引入依赖

Open 1514100951 opened this issue 2 years ago • 1 comments

image 在 pnpm monorepo项目下, vite-plugin-theme 的安装安装位置在根目录路的node_modules 下, 而这里引用的是根目录下的路径会导致下图引用错误 image

1514100951 avatar May 22 '23 02:05 1514100951

这是咱们的一个路径 image' 我看到其他的项目是这样的一个路径 image '

1514100951 avatar May 22 '23 02:05 1514100951