Production - ReferenceError: xo is not defined


When Im running my app with the --production flag Im getting a white screen. In the console I see “ReferenceError: xo is not defined”

When I click the error I can see some compiled code where this xo package is being used, heres a small part from it:


I have no clue what this is or how I can fix it? Seems like xo is a style linter that is being used by Meteor?

Turns out it was a npm package I had installed that fails to minify for some reason. After removed parts of my application until it worked I finally found out that it was a package named vue-spinner that caused it.