text: var path = require('path');
  var webpack = require('webpack');
  var node_dir = __dirname + '/node_modules';
  
  module.exports = {
  	devtool: 'source-map',
  	entry: [
  		'./src/index'
  	],
  	output: {
  		path: path.join(__dirname, 'dist'),
  		filename: 'bundle.js',
  		publicPath: '/static/'
  	},
  	plugins: [
  		new webpack.optimize.OccurrenceOrderPlugin(),
  		new webpack.DefinePlugin({
  			'process.env': {
  				'NODE_ENV': JSON.stringify('production')
  			}
  		}),
  		new webpack.optimize.UglifyJsPlugin({
  			compressor: {
  				warnings: false
  			}
  		})
  	],
  	module: {
  		loaders: [{
  			test: /\.js$/,
  			loaders: ['babel'],
  			include: path.join(__dirname, 'src')
  		},
  			{
  				test: /\.css$/,
  				loader: 'style-loader!css-loader?modules&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]'
  			},
  			{
  				test: /\.(jpe?g|png|gif|svg)$/i,
  				loaders: [
  					'file?hash=sha512&digest=hex&name=[name].[ext]',
  					'image-webpack?bypassOnDebug&optimizationLevel=7&interlaced=false'
  				]
  			}]
  	},
  	resolve: {
  		alias: {
  			'jquery': path.resolve(node_dir, "jquery/src/jquery"),
  			'sfacebook': path.join(__dirname, "src/components/FB")
  		},
  		modulesDirectories: ['src', 'node_modules'],
  		extensions: ['', '.js', '.jsx']
  	},
  };
  