Skip to content

Commit

Permalink
enable uglifyjs plugin in webpack config
Browse files Browse the repository at this point in the history
  • Loading branch information
dbackowski committed Aug 28, 2016
1 parent 3feea69 commit a82b9f7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "MdEditor",
"version": "1.0.1",
"version": "1.0.2",
"description": "Simple markdown editor",
"main": "main.js",
"scripts": {
Expand Down
16 changes: 5 additions & 11 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,17 @@ module.exports = {
markdownit: "markdownit",
CodeMirror: "codemirrorjs"
}),
/*
new webpack.optimize.UglifyJsPlugin({
sourceMap: false,
mangle: false,
minimize: false,
minimize: true,
sourceMap: false,
compress: {
drop_debugger: false,
warnings: false,
drop_console: false,
warnings: false,
dead_code: false,
unused: false,
booleans: false,
evaluate: false
},
output: {
ascii_only: true
}
}),
*/
new ExtractTextPlugin("./app/css/style.css", {
allChunks: true
})
Expand Down

0 comments on commit a82b9f7

Please sign in to comment.