electron-userland / electron-webpack

Scripts and configurations to compile Electron applications using webpack
https://webpack.electron.build/
903 stars 170 forks source link

electron-webpack issue on --env.production parameter #448

Open channelaffairs opened 3 years ago

channelaffairs commented 3 years ago

build-electron: yarn build-deps && yarn electron-webpack && yarn electron-builder -mwl --dir -c.compression=store -c.mac.identity=null The command above follows (as far as I'm aware) the guidelines provided by expo for the correct integration with electron

Thanks Guys!

Gab1988 commented 2 years ago

The issue was coming from weback 4.x.x being not compatible with electron-webpack at present time... I wish this stuff was documented guys as I'm sure the more devs will adopt web pack 4 the more this issue will occur

Anyhow for future reference use the following versions of webpack and webpack-cli:

webpack-cli: 3.3.10 webpack: 3.12.0