Skip to content

Commit

Permalink
chore(babel): update readme names (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
frederikhors authored Mar 26, 2021
1 parent b510216 commit ccbfdbc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions babel-plugin-optimize-obj-str/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ objstr({
## Install

```
npm install --save-dev babel-plugin-optimize-obj-str
npm install --save-dev babel-plugin-optimize-objstr
```

## Usage
Expand All @@ -30,14 +30,14 @@ npm install --save-dev babel-plugin-optimize-obj-str
```js
// babel.config.js
module.exports = {
plugins: ['optimize-obj-str'],
plugins: ['optimize-objstr'],
};
```

**Via CLI**:

```
babel --plugins optimize-obj-str script.js
babel --plugins optimize-objstr script.js
```

## Options
Expand All @@ -46,7 +46,7 @@ babel --plugins optimize-obj-str script.js
// babel.config.js
module.exports = {
plugins: [
['optimize-obj-str', {
['optimize-objstr', {
strict: false,
}],
],
Expand Down

0 comments on commit ccbfdbc

Please sign in to comment.