Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在渲染器进程中配置了worker-loader ,它工作正常。但是,相同的配置在主进程中不起作用,它会抛出错误“Worker is not defined”。
我知道 Worker 在 Node.js 环境中是不同的。我怎样才能正确设置它?