text: const path = require('path');
  
  module.exports = {
    entry: {
      main: "./lib/index.js",
      test: "mocha!./test/index.js"
    },
    output: {
      path: __dirname,
      filename: "[name].bundle.js"
    },
    module: {
      preLoaders: [
        { test: /\.js$/, exclude: /node_modules/, loader: 'jshint-loader' }
      ],
      loaders: [
        { test: /\.js$/, 
          exclude: /node_modules/, 
          loader: 'babel-loader', 
          query: {
            presets: ["es2015"]
          }
        },
        { test: /\.css$/, loader: "style!css" },
        { test: /\.scss$/, loader: "style!css!sass" },
      ]
    },
    resolve: {
      extensions: ['', '.js', '.json', '.scss', '.css']
    },
    watch: true
  };