Skip to content

Commit

Permalink
minify output
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Kunze committed May 7, 2015
1 parent 87d8b82 commit 07b6cb5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"pouchdb": "^3.5.0"
},
"devDependencies": {
"json-loader": "^0.5.1"
"json-loader": "^0.5.1",
"webpack": "^1.8.11"
}
}
7 changes: 6 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
var webpack = require('webpack');

module.exports = {
entry: {
normal: "./normal.js",
Expand All @@ -14,5 +16,8 @@ module.exports = {
}
],
noParse: /(lie|pouchdb)\.js$/
}
},
plugins: [
new webpack.optimize.UglifyJsPlugin
]
}

0 comments on commit 07b6cb5

Please sign in to comment.