text: var path = require('path');
  var webpack = require('webpack');
  
  //var commonsPlugin = new webpack.optimize.CommonsChunkPlugin('common.js');
  
  module.exports = {
      entry: [
          'webpack-dev-server/client?http://127.0.0.1:3000', // WebpackDevServer host and port
          'webpack/hot/only-dev-server',
          './main' // Your appʼs entry point
      ],
      output: {
          path: path.join(__dirname, 'dist'),
          filename: 'bundle.js',
          publicPath: '/static/'
      },
      module: {
          loaders: [
              { test: /\.jsx?$/, loaders: ['react-hot', 'babel'] },
              { test: /\.coffee$/, loader: 'coffee-loader' },
              { test: /\.js$/, loader: 'babel-loader' },
              { test: /\.css$/, loader: 'style-loader!css-loader' },
              { test: /\.js$/, loader: 'jsx-loader?harmony' },
              { test: /\.less$/, loader: 'style-loader!css-loader!less-loader' }, // use ! to chain loaders
              { test: /\.(png|jpg)$/, loader: 'url-loader?limit=8192' } // inline base64 URLs for <=8k images, direct URLs for the rest
          ]
      },
      plugins: [
          new webpack.HotModuleReplacementPlugin(),
          new webpack.NoErrorsPlugin()
      ],
      resolve: {
          extensions: ['', '.js', '.json', '.coffee']
      }
  };
  