text: module.exports = {
    target: 'electron',
    node: {
      __dirname: false,
      __filename: false
    },
    entry: {
      main: './src/main.js',
      renderer: './src/renderer.js'
    },
    output: {
      filename: 'dist/[name].js'
    },
    resolve: {
      extensions: ['.js', '.jsx']
    },
    module: {
      loaders: [
        {
          test: /\.jsx?$/,
          exclude: /node_modules/,
          loader: 'babel-loader'
        }
      ]
    },
    devtool: 'source-map'
  }
  