
/**
 *  Base webpack config, extended by ./Build based on options.
 *  See ../gulpfile.babel.js for usage.
 */
export default {
  progress: true,              // Shows progress when compiling on the CLI

  entry  : ['babel-polyfill'], // Base entries (Only for requires)
  devtool: 'source-map',       // Only when not compressing

  plugins: [],

  resolve: {
    extensions: ['', '.js', '.jsx'],
  },

  module: {
    loaders: [
      {
        test: /\.less$/,
        loader: 'style-loader!css-loader!less-loader',
      },
      {
        test: /\.css$/,
        loader: 'style-loader!css-loader',
      },
      {
        test: /\.(png|jpg|gif|woff|woff2|eot|svg)$/,
        loader: 'url-loader?limit=8192',
      },
      {
        test: /\.json$/,
        loader: 'json-loader',
      },
    ],

    /*

    preLoaders: [],
    postLoaders: [],

    noParse: [ /node_modules/ ],

    // Disable handling of unknown requires
    unknownContextRegExp: /$^/,
    unknownContextCritical: false,

    // Disable handling of requires with a single expression
    exprContextRegExp: /$^/,
    exprContextCritical: false,


    // Warn for every expression in require
    wrappedContextCritical: true

    */
  },
};


/**
 *  Base webpack config, extended by ./Build based on options.
 *  See ../gulpfile.babel.js for usage.
 */
export default {
  progress: true,              // Shows progress when compiling on the CLI

  entry  : ['babel-polyfill'], // Base entries (Only for requires)
  devtool: 'source-map',       // Only when not compressing

  plugins: [],

  resolve: {
    extensions: ['', '.js', '.jsx', '.json'],
  },

  module: {
    loaders: [
      {
        test: /\.less$/,
        loader: 'style-loader!css-loader!less-loader',
      },
      {
        test: /\.css$/,
        loader: 'style-loader!css-loader',
      },
      {
        test: /\.(png|jpg|gif|woff|woff2|eot|svg)$/,
        loader: 'url-loader?limit=8192',
      },
      {
        test: /\.json$/,
        loader: 'json-loader',
      },
    ],

    /*

    preLoaders: [],
    postLoaders: [],

    noParse: [ /node_modules/ ],

    // Disable handling of unknown requires
    unknownContextRegExp: /$^/,
    unknownContextCritical: false,

    // Disable handling of requires with a single expression
    exprContextRegExp: /$^/,
    exprContextCritical: false,


    // Warn for every expression in require
    wrappedContextCritical: true

    */
  },
};

Update webpack to include json
Update webpack to include json
