Workers webpack and cors

I just migrated to webpack 5 and my app started showing CORS errors.
My case is similar to the one explained by the user in:

I have my maps application in a port and I access it from another application and it returns CORS errors.

How can I solve it?

1 Like

Looks like there are at least several of us with the same problem with Webpack 5 and Cesium. I worked around it by copying cesium’s resources into the same origin that is requesting them… not ideal because it breaks my architecture.

Yes, I found that solution but it didn’t seem like the best way.
I think that in the next version of Cesium they fix this error.

THANK!