Skip to content

Commit 264efa3

Browse files
nickbouldienevilebottnawi
authored andcommitted
docs(readme): update with import example (#113)
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.
1 parent 833e825 commit 264efa3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ Then add the plugin to your `webpack` config. For example:
3333
**webpack.config.js**
3434

3535
```js
36+
const CompressionPlugin = require('compression-webpack-plugin');
37+
3638
module.exports = {
3739
plugins: [
3840
new CompressionPlugin()

0 commit comments

Comments
 (0)