Skip to content

Commit

Permalink
Add options to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
kangax committed Dec 20, 2016
1 parent 475f6c3 commit 9591c73
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/babel-plugin-minify-type-constructors/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,11 @@ require("babel-core").transform("code", {
plugins: ["minify-type-constructors"]
});
```

## Options

+ `array` - prevent plugin from minifying arrays
+ `boolean` - prevent plugin from minifying booleans
+ `number` — prevent plugin from minifying numbers
+ `object` — prevent plugin from minifying objects
+ `string` — prevent plugin from minifying strings

1 comment on commit 9591c73

@kangax
Copy link
Member Author

@kangax kangax commented on 9591c73 Dec 20, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@boopathi @hzoo do we need to explicitly add these to the preset options too?

Please sign in to comment.