更新时间:2023-11-17 23:34:46
webpack target 设置为electron-render即可
electron-render
https://github.com/webpack/webpack.js.org/blob/master/content/configuration/target.md
node - Electron使用Angular(webpack打包)写渲染线程,引入fs时提示找不到模块