Skip to content

Commit

Permalink
fix(replace): add missing sourceMap documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardoacskimlinks authored and EduardoAC committed Mar 19, 2024
1 parent 2a19079 commit c7b2c21
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions packages/replace/README.md
Expand Up @@ -179,6 +179,19 @@ replace({
});
```

### `sourceMap`

Type: `Boolean`<br>
Default: `false`

Enables generating sourcemaps for the bundled code. For example, where the plugin is called as follows:

```js
replace({
sourcemap: true
});
```

## Word Boundaries

By default, values will only match if they are surrounded by _word boundaries_.
Expand Down

0 comments on commit c7b2c21

Please sign in to comment.