{"size": 985, "ext": "js", "max_stars_repo_path": "webpack.config.js", "max_stars_repo_name": "baptistemanson/redux-share-server", "max_stars_repo_stars_event_min_datetime": "2016-03-22T04:50:49.000Z", "max_stars_repo_stars_event_max_datetime": "2021-01-11T20:53:46.000Z", "max_issues_repo_path": "webpack.config.js", "max_issues_repo_name": "baptistemanson/redux-share", "max_issues_repo_issues_event_min_datetime": "2016-03-16T06:34:20.000Z", "max_issues_repo_issues_event_max_datetime": "2017-12-25T15:48:17.000Z", "max_forks_repo_path": "webpack.config.js", "max_forks_repo_name": "baptistemanson/redux-share", "max_forks_repo_forks_event_min_datetime": "2016-03-15T13:36:23.000Z", "max_forks_repo_forks_event_max_datetime": "2018-02-28T19:38:08.000Z"}
{"max_stars_count": 30, "max_issues_count": 7, "max_forks_count": 4, "avg_line_length": 17.9090909091, "max_line_length": 41, "alphanum_fraction": 0.5573604061}
/* eslint-disable */

var path = require("path");
var webpack = require("webpack");
var fs = require('fs');

var nodeModules = {};
fs.readdirSync('node_modules')
  .filter(function(x) {
    return ['.bin'].indexOf(x) === -1;
  })
  .forEach(function(mod) {
    nodeModules[mod] = 'commonjs ' + mod;
  });


module.exports = [
{
  entry: {
    "server":"./src/redux-share-server"
  },
  target:'node',
  devtool: 'source-map',
  output: {
    path: path.join(__dirname, "dist"),
    filename: "[name].bundle.js",
    publicPath: "/dist/",
    // export itself to a global var
    libraryTarget: "umd",
    // name of the global var: "Foo"
    library: "ReduxShareServer"
  },
  externals:nodeModules,
  plugins: [
    new webpack.NoErrorsPlugin(),
  ],
  module: {
    loaders: [
    {
      test: /\.(js|jsx)$/,
      exclude: /node_modules/,
      loader: "babel-loader"
    }, {
      test: /\.css$/,
      loaders: ["style", "raw"],
      include: __dirname
    }
    ]
  }
}



];
