Skip to content

Commit

Permalink
chore: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rap2hpoutre committed Jan 15, 2021
1 parent 2a882a3 commit 3fef51c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ This plugin uses [terser](https://github.com/terser-js/terser) to minify your Ja

## Getting Started

If you are using webpack v5 or above you do not need to install this plugin. Webpack v5 comes with the latest `terser-webpack-plugin` out of the box.
If you are using webpack v5 or above you do not need to install this plugin. Webpack v5 comes with the latest `terser-webpack-plugin` out of the box. Using Webpack v4, you have to install terser-webpack-plugin v4.

To begin when using webpack v4, you'll need to install `terser-webpack-plugin`:
To begin, you'll need to install `terser-webpack-plugin`:

```console
$ npm install terser-webpack-plugin@4 --save-dev
$ npm install terser-webpack-plugin --save-dev
```

Then add the plugin to your `webpack` config. For example:
Expand Down

0 comments on commit 3fef51c

Please sign in to comment.