springload/react-portal-popover

View on GitHub
webpack.config.dev.js

Summary

Maintainability
A
0 mins
Test Coverage
'use strict';

const path = require('path');
const webpack = require('webpack');

module.exports = {
  devtool: 'cheap-module-eval-source-map',
  entry: [
    'webpack-hot-middleware/client',
    './examples/index',
  ],
  output: {
    path: path.join(__dirname, 'build'),
    filename: 'examples_bundle.js',
    publicPath: '/',
  },
  plugins: [
    new webpack.HotModuleReplacementPlugin(),
    new webpack.NoErrorsPlugin(),
  ],
  module: {
    loaders: [{
      test: /\.js$/,
      loaders: ['babel'],
      include: [
        path.join(__dirname, 'examples'),
        path.join(__dirname, 'src'),
      ],
    }],
  },
};