Skip to content

Commit

Permalink
docs(replace): fix typo (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Berner authored and shellscape committed Nov 22, 2019
1 parent e7ff386 commit 0c7a2d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/replace/README.md
Expand Up @@ -42,7 +42,7 @@ export default {

Then call `rollup` either via the [CLI](https://www.rollupjs.org/guide/en/#command-line-reference) or the [API](https://www.rollupjs.org/guide/en/#javascript-api).

The configuration above will replace every instance of `__buildEnv__` with `'productions'` in any file included in the build. _Note: Values should always be strings. For complex values, use `JSON.stringify`._
The configuration above will replace every instance of `__buildEnv__` with `'production'` in any file included in the build. _Note: Values should always be strings. For complex values, use `JSON.stringify`._

Typically, `@rollup/plugin-replace` should be placed in `plugins` _before_ other plugins so that they may apply optimizations, such as dead code removal.

Expand Down

0 comments on commit 0c7a2d8

Please sign in to comment.