Skip to content

Commit

Permalink
docs(readme): update with import example (#113)
Browse files Browse the repository at this point in the history
Update the "getting started" section with an example importing the Compression Plugin (which is used just below).  This import (require) statement is currently not found in the README.

Not a huge deal, but could save somebody ~5 seconds of having to add that in themselves.
  • Loading branch information
nickbouldien authored and evilebottnawi committed Sep 10, 2018
1 parent 833e825 commit 264efa3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -33,6 +33,8 @@ Then add the plugin to your `webpack` config. For example:
**webpack.config.js**

```js
const CompressionPlugin = require('compression-webpack-plugin');

module.exports = {
plugins: [
new CompressionPlugin()
Expand Down

0 comments on commit 264efa3

Please sign in to comment.