From b1f70ba21e2d3b50bd6ae3a89de43dbd93b2b972 Mon Sep 17 00:00:00 2001 From: nick bouldien Date: Sat, 8 Sep 2018 14:08:15 -0500 Subject: [PATCH] docs(readme): update with import example 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. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 755d558..ac1f06f 100644 --- a/README.md +++ b/README.md @@ -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()