react-fontawesome: Unable to use this

Hi – Thanks for doing this, it looks great.

However, I’m getting the following error when I try to use it:

Module build failed: ReferenceError: Unknown plugin "add-module-exports" specified in "/Users/chris/hacks/notomatic/front_end/node_modules/react-fontawesome/.babelrc" at 0, attempted to resolve relative to "/Users/chris/hacks/notomatic/front_end/node_modules/react-fontawesome"

Any clues appreciated.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 19 (9 by maintainers)

Most upvoted comments

@olegstepura It seems typical to me for people to exclude the node_modules folder. In fact, it seems like a best practice to do so otherwise you’re parsing all your node_modules which is incredibly slow and unnecessary. I don’t see a compelling reason to change the current behavior at this point