Skip to content
This repository was archived by the owner on Mar 24, 2019. It is now read-only.
This repository was archived by the owner on Mar 24, 2019. It is now read-only.

Problem pushing to production on Heroku #2

@mayordwells

Description

@mayordwells

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions