text: var path = require('path');
  var nodeModulesDir = path.resolve(__dirname, 'node_modules');
  var BundleTracker = require('webpack-bundle-tracker');
  
  module.exports = [{
    entry: [
      './assets/js/jquery-index.js',
    ],
    output: {
      path: path.resolve('./assets/bundles/'),
      filename: 'bundle-jquery.js',
    },
    module: {
      loaders: [
        {
          test: /\.jsx?$/,
          exclude: [nodeModulesDir],
          loader: 'babel-loader?presets[]=es2015',
        },
        {
          test: /jquery\/dist\/jquery\.js$/,
          loader: 'expose-loader?$',
        },
        {
          test: /jquery\/dist\/jquery\.js$/,
          loader: 'expose-loader?jQuery',
        }],
    },
    plugins: [
      new BundleTracker({
        filename: './jquery-webpack-stats.json',
      }),
    ],
  }, {
    context: __dirname,
    entry: [
      // defined in local or prod
    ],
    output: {
      // defined in local or prod
    },
    module: {
      loaders: [
        {
          test: /\.css$/,
          loaders: [
            'style-loader',
            'css-loader',
            'postcss-loader',
          ],
        },
        {
          test: /\.scss$/,
          loaders: [
            'style-loader',
            'css-loader',
            'postcss-loader',
            'sass-loader',
          ],
        },
        {
          test: /\.(woff(2)?|eot|ttf|svg)(\?v=\d+\.\d+\.\d+)?$/,
          loader: 'url-loader?limit=100000',
        },
        {
          test: /\.(jpg|png)?$/,
          loaders: [
            'file-loader?name=i-[hash].[ext]',
          ],
        },
      ],
    },
    plugins: [
      // defined in local or prod
    ],
    resolve: {
      modules: [
        'node_modules',
        'bower_components',
        path.resolve(__dirname, 'assets/js/'),
      ],
      extensions: ['.js', '.jsx'],
    },
  }];
  