You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jakedowns
changed the title
[Bug] Unexpected token, expected "," (comma) when compiling for PROD
[Bug] Unexpected token, expected "," (comma) when compiling for Production | Vue2 + Laravel Mix
Mar 26, 2022
Current behavior
when compiling for dev, the compiler seems to work great
when compiling for prod, i get the following error (38 times, for different vue components)
SearchResults.vue: (i thought it was the break tags causing an issue so i commented them out, but the issue remains)
Expected behavior
should compile without errors
Extra
node v14.16.1
webpack: 5.70.0
webpack-cli: 4.9.2
webpack-dev-server 4.7.4
"babel-preset-minify": "^0.5.1",
"@babel/core": "^7.17.5",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.14.5",
"@babel/plugin-transform-runtime": "^7.15.8",
"@babel/polyfill": "^7.12.1",
"@babel/register": "^7.12.10",
"@babel/runtime": "^7.16.3",
"@types/babel__core": "^7.1.18",
"@vue/cli-plugin-babel": "^4.5.15",
"@inertiajs/inertia-vue": "^0.7.2",
"@vue/cli-service": "^5.0.1",
"vue": "^2.6.14",
"vue-loader": "^15.9.8",
"vue-server-renderer": "^2.6.12",
"vue-template-babel-compiler": "^1.1.3",
"vue-template-compiler": "^2.6.12",
"vuex": "^3.6.0",
"laravel-mix-merge-manifest": "^2.0.0",
"laravel-mix": "^6.0.43",
Laravel Mix / Webpack Config:
The text was updated successfully, but these errors were encountered: