text: const webpack = require('webpack');
  const ModernizrWebpackPlugin = require("modernizr-webpack-plugin");
  const ExtractTextPlugin = require("extract-text-webpack-plugin");
  
  module.exports = {
    entry: {
      site: './source/javascripts/site.js',
      styles: './source/stylesheets/main.css'
    },
  
    output: {
      path: __dirname + '/.tmp/dist',
      filename: 'javascripts/[name].js',
    },
  
    module: {
      loaders: [
        {
          test: /source\/javascripts\/.*\.js$/,
          exclude: /node_modules|\.tmp|vendor/,
          loader: 'babel-loader',
          query: {
            presets: ['es2015', 'stage-0']
          },
        }, {
          test: /\.(css|scss|sass)$/,
          use: ExtractTextPlugin.extract({
            fallback: "style-loader",
            use: ["css-loader", "postcss-loader"]
          })
        }
      ] 
    },
    plugins: [
      new ModernizrWebpackPlugin(),
      new ExtractTextPlugin("main.css"),
      new webpack.ProvidePlugin({
        $: "jquery",
        jQuery: "jquery",
        "window.jQuery": "jquery"
      }),
    ],
  }
  