Skip to content

Commit 4ac86e5

Browse files
committed
Update readme
1 parent 28236c2 commit 4ac86e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ Preact-CLI have a flag `--brotli` which automatically generates brotli compresse
6262
> For more info please check this blog post https://medium.com/@prateekbh/using-brotli-with-preact-cli-3-ca03125b1e2b
6363
6464
```js
65-
export default function(config) {
65+
export default function(config, env) {
6666
netlifyPlugin(config, {
67-
brotli: true
67+
brotli: env.brotli
6868
});
6969
}
7070
```

0 commit comments

Comments
 (0)