Using XAxis and YAxis Generates an error #3311
-
Hello
I am using my own webpack and babel configuration :
dev:
prod:
while babel.config.js is :
my recharts code is:
with the correct imports everything is working fine with development, while for production I am getting this unclear error: TypeError: e is undefined if I remove the use of XAxis and YAxis every thing is working correctly is there something special about these two components ? should I configure something special in production mode for webpack or add for babel another plugin ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
it seems that the problem is using new LodashModuleReplacementPlugin, after removing it from the production it is working fine |
Beta Was this translation helpful? Give feedback.
it seems that the problem is using new LodashModuleReplacementPlugin, after removing it from the production it is working fine