SyntaxError: identifier starts immediately after numeric literal

Hello, After deploying a vue3 project into CF Pages, I am getting the error SyntaxError: identifier starts immediately after numeric literal when accessing it through a custom domain (also on CF). pages: https://worker-dashboard.pages.dev domain: https://dash.k8.pt Does someone have the same issue?
6 Replies
watchTBK.eth
watchTBK.ethOP•2y ago
note: only happens in firefox, afaik
James
James•2y ago
Can you try disabling minification for the domain? Cloudflare's minification can sometimes cause issues like this I was able to reproduce in Chrome
watchTBK.eth
watchTBK.ethOP•2y ago
I'll try it & purge cache I've done it, seems to be working Is it recommended to have a rule to disable minification for this subdomain? (like dash.k8.pt/*)
James
James•2y ago
Yeah I'd generally do that since you're already handling minification in your own build it seems A configuration rule should be able to do that pretty easily 🙂
watchTBK.eth
watchTBK.ethOP•2y ago
correct, through vite 🙂 thank you so much for your help 🤟
James
James•2y ago
Happy to help 🙂
Want results from more Discord servers?
Add your server