Webpack Electron builder仅获取一个builder.js文件
我的electron redux应用程序在网页包中有2个条目,如下所示Webpack Electron builder仅获取一个builder.js文件,webpack,react-redux,electron,Webpack,React Redux,Electron,我的electron redux应用程序在网页包中有2个条目,如下所示 entry: {child: './src/child', home: './src/app' }, output: { path: __dirname, filename: '[name].bundle.js', libraryTarget: 'commonjs2' }, 它在本地运行时运行正常,但在windows中安装exe时运行正常。使用home.bundle.js的redux组件的e
entry: {child: './src/child',
home: './src/app'
},
output: {
path: __dirname,
filename: '[name].bundle.js',
libraryTarget: 'commonjs2'
},
它在本地运行时运行正常,但在windows中安装exe时运行正常。使用home.bundle.js的redux组件的electron窗口工作正常,但其他使用child.bundle.js的electron窗口未呈现dom组件
但它在本地运行时运行良好
我正在使用