'use strict' const cp = require('child_process') // Rebuild native modules for ia32 and run webpack again for the ia32 part of windows packages exports.default = function(context) { if (context.platform.name === 'windows') { cp.execFileSync( 'bash', ['./node_modules/.bin/electron-rebuild', '--types', 'dev', '--arch', context.arch] ); cp.execFileSync( 'bash', ['./node_modules/.bin/webpack'] ); } }