text: var debug = process.env.NODE_ENV !== "production";
  var webpack = require('webpack');
  
  module.exports = {
    context: __dirname,
    devtool: debug ? "inline-sourcemap" : null,
    entry: "./js/script.js", // where we start off, the root of the depdency tree
    output: {
      path: __dirname + "/js",
      filename: "script.min.js" // the output js file -- the new entry point
    },
    plugins: debug ? [] : [
      new webpack.optimize.DedupePlugin(),
      new webpack.optimize.OccurenceOrderPlugin(),
      new webpack.optimize.UglifyJsPlugin({ mangle: false, sourcemap: false }),
    ], // if in prod mode, minify the scripts.
  };
  