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: [