Minify with Uglify
This commit is contained in:
parent
358548b95a
commit
07cac0ee31
|
@ -9,6 +9,6 @@
|
|||
"webpack": "^2.2.0-rc.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"ol": "^3.21.0-beta.13"
|
||||
"ol": "^3.21.0-beta.14"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,11 @@
|
|||
const webpack = require('webpack');
|
||||
|
||||
module.exports = {
|
||||
entry: './main.js',
|
||||
output: {
|
||||
filename: 'bundle.js'
|
||||
}
|
||||
},
|
||||
plugins: [
|
||||
new webpack.optimize.UglifyJsPlugin()
|
||||
]
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue