Commit 515f851
Suggest using babel to remove
Summary:
This PR adds a suggestion to the docs to use the `transform-remove-console` babel plugin in production to remove `console.*` calls.
This information was previously in the docs, but was [removed](e759573) because the babel plugin [didn't work](#10412).
But now it's working well, as reported [here](#10412 (comment)), so it would be helpful to add the suggestion again.
Ideally, this would be done automatically, as I suggested in #8337
Closes #13651
Differential Revision: D4954872
Pulled By: hramos
fbshipit-source-id: 89ae1b813c50e678f0826f16ef88c8604e13d889console.* calls1 parent f3dbddc commit 515f851
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
76 | 87 | | |
77 | 88 | | |
78 | 89 | | |
| |||
0 commit comments