module.exports = {
  entry: {
    host: ["babel-polyfill", "./host/index.js"],
    participant: ["babel-polyfill", "./participant/index.js"],
  },
  output: {
    path: "./",
    filename: "[name].js"
  },
  module: {
    loaders: [{
      test: /\.jsx?$/,
      exclude: /node_modules/,
      loader: "babel"
    }]
  },
  resolve: {
    extensions: [
      "", ".js"
    ],
    modulesDirectories: [
      "node_modules", "./"
    ]
  }
};

module.exports = {
  devtool: 'eval',
  entry: {
    host: ["babel-polyfill", "./host/index.js"],
    participant: ["babel-polyfill", "./participant/index.js"],
  },
  output: {
    path: "./",
    filename: "[name].js"
  },
  module: {
    loaders: [{
      test: /\.jsx?$/,
      exclude: /node_modules/,
      loader: "babel"
    }]
  },
  resolve: {
    extensions: [
      "", ".js"
    ],
    modulesDirectories: [
      "node_modules", "./"
    ]
  }
};

Enable source-map for development build
Enable source-map for development build
