-
Notifications
You must be signed in to change notification settings - Fork 122
Error while using with webpack #25
Comments
I see you are getting the same error as I reported here #26 |
Do you have a way around this bug? Is there a setup with older versions that I could use? |
The other time this issue was reported the person was running the react-intl Babel plugin multiple times. You should investigate whether multiple Babel config are being merged together, causing two runs of babel-plugin-react-intl. The Webpack Babel Loader likely merges your .babelrc with what's in your webpack.config.js. If you want something custom in your Webpack build you should make sure to set it to not use the .babelrc file as well. |
@ericf Hmm, I'm not using webpack for this task and I don't think I'm running the plugin multiple times. Maybe you can have a look at yourself (the I have one And this is the task I'm running Do you see anything strange there? Thanks. |
You're running the plugin twice. It's loaded via .babelrc and in the command line |
Ooh I see, I thought the |
When I run webpack I get the following error.
Here is my webpack.config.js
Here is my test component.
The text was updated successfully, but these errors were encountered: