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

Commit

Permalink
misc(readme) update snippet to webpack v4
Browse files Browse the repository at this point in the history
  • Loading branch information
EugeneHlushko committed Jun 29, 2018
1 parent f0d0a3b commit 5aac5c6
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 5aac5c6

Please sign in to comment.