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", "./"
    ]
  }
};

module.exports = {
  devtool: 'eval-source-map',
  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", "./"
    ]
  }
};

Use eval-source-map