Skip to content
This repository has been archived by the owner on Dec 5, 2019. It is now read-only.

Commit

Permalink
docs(readme): update snippet to webpack v4 (#323)
Browse files Browse the repository at this point in the history
  • Loading branch information
EugeneHlushko authored and evilebottnawi committed Jun 29, 2018
1 parent f0d0a3b commit 2cd4ba0
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Expand Up @@ -30,9 +30,12 @@ npm i -D uglifyjs-webpack-plugin
const UglifyJsPlugin = require('uglifyjs-webpack-plugin')

module.exports = {
plugins: [
new UglifyJsPlugin()
]
//...
optimization: {
minimizer: [
new UglifyJsPlugin()
]
}
}
```

Expand Down

0 comments on commit 2cd4ba0

Please sign in to comment.