Refactor main process

This commit is contained in:
Igor Gassmann 2018-01-17 23:13:08 -03:00
parent be0e526dbb
commit fd64ae58fe
16 changed files with 450 additions and 631 deletions

View file

@ -1,7 +1,7 @@
const Path = require('path');
const path = require('path');
const FlowFlowPlugin = require('./flowtype-plugin');
const ELECTRON_RENDERER_PROCESS_ROOT = Path.resolve(__dirname, 'src/renderer/');
const ELECTRON_RENDERER_PROCESS_ROOT = path.resolve(__dirname, 'src/renderer/');
module.exports = {
// This rule is temporarily necessary until https://github.com/electron-userland/electron-webpack/issues/60 is fixed.