Skip to content

Commit 5a8115b

Browse files
jgreshamcharpeni
authored andcommitted
install transform-remove-console as dev dependency (facebook#450)
change --save to --save-dev
1 parent a44c741 commit 5a8115b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/performance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ JavaScript thread performance suffers greatly when running in dev mode. This is
3737

3838
### Using `console.log` statements
3939

40-
When running a bundled app, these statements can cause a big bottleneck in the JavaScript thread. This includes calls from debugging libraries such as [redux-logger](https://github.com/evgenyrodionov/redux-logger), so make sure to remove them before bundling. You can also use this [babel plugin](https://babeljs.io/docs/plugins/transform-remove-console/) that removes all the `console.*` calls. You need to install it first with `npm i babel-plugin-transform-remove-console --save`, and then edit the `.babelrc` file under your project directory like this:
40+
When running a bundled app, these statements can cause a big bottleneck in the JavaScript thread. This includes calls from debugging libraries such as [redux-logger](https://github.com/evgenyrodionov/redux-logger), so make sure to remove them before bundling. You can also use this [babel plugin](https://babeljs.io/docs/plugins/transform-remove-console/) that removes all the `console.*` calls. You need to install it first with `npm i babel-plugin-transform-remove-console --save-dev`, and then edit the `.babelrc` file under your project directory like this:
4141

4242
```javascripton
4343
{

0 commit comments

Comments
 (0)