Skip to content

Commit

Permalink
fix(replace): Update attributes alphabetically
Browse files Browse the repository at this point in the history
  • Loading branch information
EduardoAC committed Jun 5, 2024
1 parent 3a4fbc5 commit 8171b48
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions packages/replace/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,19 @@ Default: `null`

A [picomatch pattern](https://github.com/micromatch/picomatch), or array of patterns, which specifies the files in the build the plugin should operate on. By default all files are targeted.

### `sourceMap` or `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
});
```

### `values`

Type: `{ [key: String]: Replacement }`, where `Replacement` is either a string or a `function` that returns a string.
Expand All @@ -179,19 +192,6 @@ replace({
});
```

### `sourceMap` or `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 8171b48

Please sign in to comment.