Syntax Error on autogenerated js minification file
SOLVE
I have been successfully using the React CMS Boilerplate to upload a custom React Module in Hubspot. Recently, I went to do some updates on the module and I'm getting this error
Uncaught SyntaxError: Invalid or unexpected token
in the minified main.js file (this file is autogenerated and I can not edit it). The error appears to be on the very last line of the minified file which is
I have not experienced this error ever before so I'm wondering if something changed with how Hubspot builds the minified files? I did control tests and use the exact same code that worked previously and saw the same error today. Also I will note that the uploading process has no errors. I'm only seeing the error when I drag my module onto our page. That is where it crashes.