Skip to content

Instantly share code, notes, and snippets.

@acoyfellow
Created May 3, 2015 22:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save acoyfellow/89fc972cd4c8bb6a1b0a to your computer and use it in GitHub Desktop.
Save acoyfellow/89fc972cd4c8bb6a1b0a to your computer and use it in GitHub Desktop.
SendGrowth example webpack.config.js
var webpack = require("../node_modules/webpack");
module.exports = {
context: __dirname,
entry: './entry.js',
output:{
path: __dirname + '/assets/js',
filename: 'counter.js'
},
plugins: [
new webpack.optimize.UglifyJsPlugin({minimize: true})
],
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment