looking at the example it says:
npm install babel-plugin-transform-remove-console --save-dev
Which means it will be saved to devdependencies. It will not be run in production is NODE_ENV is set to production. I think the installation example is little bit bad because of this. If you set NODE_ENV=production it will not install and run devDependencies at all.
I think the installation instructions should be changed to:
npm install babel-plugin-transform-remove-console
Please do correct me if I'm wrong.
Or is this not meant for production use? Maybe state that then.