Webpack bundle analyzer in React on Rails

Has anyone got webpack bundle analyzer working with react on rails? I’ve somehow got a 9.4MB bundle eek. Not sure how to run webpack stats.