fix: mac build

This commit is contained in:
Sean Yesmunt 2018-04-25 22:50:00 -04:00
parent 17d3c81737
commit 2dcf04c47c

View file

@ -3,6 +3,10 @@ const path = require('path');
const ELECTRON_RENDERER_PROCESS_ROOT = path.resolve(__dirname, 'src/renderer/'); const ELECTRON_RENDERER_PROCESS_ROOT = path.resolve(__dirname, 'src/renderer/');
module.exports = { module.exports = {
node: {
__dirname: false,
__filename: false
},
// This rule is temporarily necessary until https://github.com/electron-userland/electron-webpack/issues/60 is fixed. // This rule is temporarily necessary until https://github.com/electron-userland/electron-webpack/issues/60 is fixed.
module: { module: {
rules: [ rules: [