[question] 为什么electron的主进程和渲染进行使用同一个node_modules? #605
Unanswered
liaodalin19903
asked this question in
Q&A
Replies: 1 comment
-
这有啥好分开的。难道存在某个依赖你在node和v8中要使用不同的版本?当然,如果你使用pnpm的话,你完全可以用 workspace来实现,用monorepo的逻辑,把main和renderer作为两个项目。那么他们会分别有package.json, 也会分别有node_modules |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
请问一下, 为什么electron的主进程和渲染进行使用同一个node_modules呢?
主进程和渲染进程一个是后端一个是前端,为何都使用同一个node_modules,而不分开呢?
Beta Was this translation helpful? Give feedback.
All reactions