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
note: only happens in firefox, afaik
Can you try disabling minification for the domain? Cloudflare's minification can sometimes cause issues like this
I was able to reproduce in Chrome
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/*
)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 🙂
correct, through vite 🙂
thank you so much for your help 🤟
Happy to help 🙂