babel --plugins transform-react-remove-prop-types script.js Via Node API without options: require('babel-core').transform('code',{plugins:['transform-react-remove-prop-types',],}); with options: require('babel-
I've forked the library and made the config change to babel-plugin-transform-react-remove-prop-types here but I'm seeing that propTypes still exist on the stateless functional components: Steps to reproduce git clone https://github.com/nijk/react-popper.git git checkout v0.x cd react-...
You can ignore the node_modules with that option: https://github.com/oliviertassinari/babel-plugin-transform-react-remove-prop-types#ignorefilenames. I had in mind rather reversed scenario. I dont want to run any babel transformations on libraries code, except this one. So I would need some...