Syntax Error on js minification file

I have been successfully using the React CMS Boilerplate to upload a custom React Module in Hubspot. Today, 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. The error appears to be on the very last line of the minified file which is

`\#sourceURL=https://f.hubspotusercontent00.net/hubfs/{myHubspotID}/raw_assets/public/{myHubspotFolder}/main.js``

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.

Hey @SaraRandolph

Are you still having this issue?

Hi @dennisedson I just tried it again and I am having the same issue.

@tjoyce ,

Have you seen this happen before with React in HubSpot?

I ended up chatting with a devloper on the Hubspot Slack and he was able to push up a fix for this. Thank you for all your support everyone!