SyntaxFix
Write A Post
Hire A Developer
Questions
For me the issue was I did not have my webpack build mode set to production for the package I was referencing in. Explicitly setting it to "build": "webpack --mode production" fixed the issue.