I’m making a script by running $ wrangler publish.
it creates a script.js, but there is an error in it. it has a object in it like {
“vendors~BikesLandingPage”: “/js/vendors~BikesLandingPage.js”
}
When i upload this script this to workers, it gives an error. Uncaught SyntaxError: Unexpected token ‘:’.
How to resolve this?