After some major debugging once again, I've concluded that the previous
webpack.mix.js worked fine, but threw an error when minifying the app.js
file. The culprit is because the current app.js contains some newer
ECMAScript code that needs to be translated. However, with the current
inclusion of huebee.js into the samme command, it seems to mess things
up.
Just as a potensial fix for now is to just ignore the issue, and have a
stab at it at a later date. This reverts the "fixes" I've made before.