diff --git a/package.json b/package.json index 0e3c4bf..25df00f 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,6 @@ "webpack": "^2.2.0-rc.2" }, "dependencies": { - "ol": "^3.21.0-beta.13" + "ol": "^3.21.0-beta.14" } } diff --git a/webpack.config.js b/webpack.config.js index f3e56f0..f3ea126 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,6 +1,11 @@ +const webpack = require('webpack'); + module.exports = { entry: './main.js', output: { filename: 'bundle.js' - } + }, + plugins: [ + new webpack.optimize.UglifyJsPlugin() + ] };