react-app-rewire-contrib icon indicating copy to clipboard operation
react-app-rewire-contrib copied to clipboard

README.md incorrectly requires rewireEmotion

Open stephenkoo opened this issue 6 years ago • 0 comments

Under the Usage with Storybook section, it says you need to do this in your webpack.config.js:

const rewireEmotion = require('react-app-rewire-emotion');

This didn't work for me, but I fixed it with:

const { rewireEmotion } = require('react-app-rewire-emotion');

:)

stephenkoo avatar May 29 '18 00:05 stephenkoo