From 2dcf04c47ce9c5ccb83010c6e4d2b54792c4d68e Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Wed, 25 Apr 2018 22:50:00 -0400 Subject: [PATCH] fix: mac build --- webpack.renderer.additions.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/webpack.renderer.additions.js b/webpack.renderer.additions.js index b0887e7a0..cbde7558a 100644 --- a/webpack.renderer.additions.js +++ b/webpack.renderer.additions.js @@ -3,6 +3,10 @@ const path = require('path'); const ELECTRON_RENDERER_PROCESS_ROOT = path.resolve(__dirname, 'src/renderer/'); module.exports = { + node: { + __dirname: false, + __filename: false + }, // This rule is temporarily necessary until https://github.com/electron-userland/electron-webpack/issues/60 is fixed. module: { rules: [