{"size": 1760, "ext": "js", "max_stars_repo_path": "webpack.config.js", "max_stars_repo_name": "devblazer/powpow.io", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "webpack.config.js", "max_issues_repo_name": "devblazer/powpow.io", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "webpack.config.js", "max_forks_repo_name": "devblazer/powpow.io", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 30.8771929825, "max_line_length": 76, "alphanum_fraction": 0.6022727273}
var Webpack = require('webpack');
var path = require('path');
var appPath = path.resolve(__dirname, 'src','app');
var nodeModulesPath = path.resolve(__dirname, 'node_modules');
var buildPath = path.resolve(__dirname, 'public', 'build');

var config = {
  context: __dirname,
  devtool: 'eval-source-map',
  entry: [
    'webpack-dev-server/client?http://localhost:3000',
    'webpack/hot/dev-server',
    path.resolve(appPath, 'shipDesigner.js')],
  output: {
    path: buildPath,
    filename: 'bundle.js',
    publicPath: '/build/'
  },
  resolve : {

  },
  module: {
    loaders: [

    // I highly recommend using the babel-loader as it gives you
    // ES6/7 syntax and JSX transpiling out of the box
    {
      test: /\.jsx?$/,
      loader: 'babel',
      exclude: [nodeModulesPath],
      query: {
        optional: ['runtime'],
        stage: 0
      },
    },

    // Let us also add the style-loader and css-loader, which you can
    // expand with less-loader etc.
    { test: /\.css/, loader: "style-loader!css-loader" },
    { test: /\.less$/, loader: "style-loader!css-loader!less-loader" },
    { test: /\.json/, loader: "json-loader" },
    { test: /\.png/, loader: "url-loader?limit=100000&mimetype=image/png" },
    { test: /\.gif/, loader: "url-loader?limit=100000&mimetype=image/gif" },
    { test: /\.jpg/, loader: "file-loader"} ,
    { test: /\.svg/, loader: "url-loader?limit=10000"},
    { test: /\.woff/, loader: "url-loader?limit=100000"},
    { test: /\.woff2/, loader: "url-loader?limit=100000"},
    { test: /\.ttf/, loader: "file-loader"},
    { test: /\.eot/, loader: "file-loader"},
    { test: /\.glsl$/, loader: 'webpack-glsl'}
    ]
  },
  plugins: [new Webpack.HotModuleReplacementPlugin()]
};

module.exports = config;
