{"size": 1441, "ext": "js", "max_stars_repo_path": "cfg/webpack.base.js", "max_stars_repo_name": "ThinkingInReact/ThinkingInReact", "max_stars_repo_stars_event_min_datetime": "2016-01-06T22:16:19.000Z", "max_stars_repo_stars_event_max_datetime": "2019-03-20T19:09:15.000Z", "max_issues_repo_path": "cfg/webpack.base.js", "max_issues_repo_name": "ThinkingInReact/ThinkingInReact", "max_issues_repo_issues_event_min_datetime": "2016-02-01T09:10:07.000Z", "max_issues_repo_issues_event_max_datetime": "2016-06-09T10:30:08.000Z", "max_forks_repo_path": "cfg/webpack.base.js", "max_forks_repo_name": "ThinkingInReact/ThinkingInReact", "max_forks_repo_forks_event_min_datetime": "2016-01-07T01:58:16.000Z", "max_forks_repo_forks_event_max_datetime": "2016-01-07T01:58:16.000Z"}
{"max_stars_count": 21, "max_issues_count": 4, "max_forks_count": 1, "avg_line_length": 24.8448275862, "max_line_length": 62, "alphanum_fraction": 0.5003469813}
var path = require('path');
var webpack = require('webpack');
var port = 8000;
var srcPath = path.join(__dirname, '../src');
var publicPath = '/assets/';

module.exports = {
  port: port,
  debug: true,
  output: {
    path: path.join(__dirname, '../build/assets'),
    filename: 'app.js',
    publicPath: publicPath
  },
  devServer: {
    contentBase: './src/',
    historyApiFallback: true,
    hot: true,
    port: port,
    publicPath: publicPath,
    noInfo: false
  },
  resolve: {
    extensions: ['', '.js', '.jsx', '.scss', '.css', '.sass'],
    alias: {
      actions:    srcPath + '/common' + '/actions/',
      components: srcPath + '/common' + '/components/',
      containers: srcPath + '/common' + '/containers/',
      routes:     srcPath + '/common' + '/routes/',
      reducers:   srcPath + '/common' + '/reducers/',
      styles:     srcPath + '/common' + '/styles/',
      images:     srcPath + '/common' + '/images/',
      lib:        srcPath + '/common' + '/lib/',
      icons:      srcPath + '/common' + '/icons/'
    }
  },
  module: {
    loaders: [
      {
        test: /\.sass$/,
        loaders: ['style', 'css', 'sass?indentedSyntax']
      },
      {
        test: /\.css$/,
        loaders: ['style', 'css']
      },
      {
        test: /\.md/,
        loader: 'react-markdown'
      },
      {
        test: /\.(png|jpg|gif|woff|woff2|svg)$/,
        loader: 'url-loader?limit=8192'
      }
    ]
  }
};
