I got this when I tried to use this in production on Heroku.
remote: ERROR in application-1d2e0f4cb11ca3bbb810.js from UglifyJs
remote: Unexpected token: name (needsProcess) [./node_modules/@matejmazur/react-mathjax/lib/process-math.js:4,0][application-1d2e0f4cb11ca3bbb810.js:19275,4]
remote: ERROR in Calculus/Integrate-2f72bd060579631b04ee.js from UglifyJs
remote: Unexpected token: name (needsProcess) [./node_modules/@matejmazur/react-mathjax/lib/process-math.js:4,0][Calculus/Integrate-2f72bd060579631b04ee.js:2058,4]
Googling around I found this. - webpack/webpack#2972
I checked your src code and found out that it's not compiled for use with es5, I would appreciate a quick fix to this and a possible opportunity to work with you on potential improvement to this plugin.
I want to use it in production.
Thanks and looking forward to work with you.
I got this when I tried to use this in production on Heroku.
remote: ERROR in application-1d2e0f4cb11ca3bbb810.js from UglifyJs
remote: Unexpected token: name (needsProcess) [./node_modules/@matejmazur/react-mathjax/lib/process-math.js:4,0][application-1d2e0f4cb11ca3bbb810.js:19275,4]
remote: ERROR in Calculus/Integrate-2f72bd060579631b04ee.js from UglifyJs
remote: Unexpected token: name (needsProcess) [./node_modules/@matejmazur/react-mathjax/lib/process-math.js:4,0][Calculus/Integrate-2f72bd060579631b04ee.js:2058,4]
Googling around I found this. - webpack/webpack#2972
I checked your src code and found out that it's not compiled for use with es5, I would appreciate a quick fix to this and a possible opportunity to work with you on potential improvement to this plugin.
I want to use it in production.
Thanks and looking forward to work with you.