We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63e9ce0 commit 6f573fbCopy full SHA for 6f573fb
README.md
@@ -15,19 +15,24 @@ This can be particularly useful if you want to switch certain statics on/off for
15
{
16
"env": {
17
"production": {
18
- "plugins": ["transform-react-remove-statics", {
19
- "propTypes": true
20
- }]
+ "plugins": [
+ ["transform-react-remove-statics", {
+ "propTypes": true
21
+ }]
22
+ ]
23
+ }
24
}
25
26
```
27
### Via Node API
28
29
```js
30
require("babel-core").transform("code", {
- plugins: ["transform-react-remove-statics", {
31
+ plugins: [
32
33
34
35
36
});
37
38
0 commit comments