Minify with Uglify

This commit is contained in:
Tim Schaub 2017-01-03 14:41:31 -07:00
parent 358548b95a
commit 07cac0ee31
2 changed files with 7 additions and 2 deletions

View file

@ -9,6 +9,6 @@
"webpack": "^2.2.0-rc.2"
},
"dependencies": {
"ol": "^3.21.0-beta.13"
"ol": "^3.21.0-beta.14"
}
}

View file

@ -1,6 +1,11 @@
const webpack = require('webpack');
module.exports = {
entry: './main.js',
output: {
filename: 'bundle.js'
}
},
plugins: [
new webpack.optimize.UglifyJsPlugin()
]
};