Minify with Uglify

master
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" "webpack": "^2.2.0-rc.2"
}, },
"dependencies": { "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 = { module.exports = {
entry: './main.js', entry: './main.js',
output: { output: {
filename: 'bundle.js' filename: 'bundle.js'
} },
plugins: [
new webpack.optimize.UglifyJsPlugin()
]
}; };