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.eth•15mo ago
note: only happens in firefox, afaik
James
James•15mo 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.eth•15mo 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•15mo 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.eth•15mo ago
correct, through vite 🙂 thank you so much for your help 🤟
James
James•15mo ago
Happy to help 🙂