Skip to content

Commit

Permalink
docs: fix wrong replace example (#254)
Browse files Browse the repository at this point in the history
  • Loading branch information
frederikhors committed Sep 20, 2020
1 parent b8f49dd commit 933c8f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -153,7 +153,7 @@ In example, to replace inject the value of `process.env.NODE_ENV`:

```js
autoPreprocess({
replace: ['process.env.NODE_ENV', JSON.stringify(process.env.NODE_ENV)],
replace: [['process.env.NODE_ENV', JSON.stringify(process.env.NODE_ENV)]],
});
```

Expand Down

0 comments on commit 933c8f6

Please sign in to comment.