Closed savi-react closed 5 months ago
@yulinscottkang getting these error while deploying to production
Can you click on the line number and show what v
is? Also, based on the warning, it seems that you're referencing atlas.min.js separately. It should also be bundled with your JS files.
azure-maps-control@3.0.3
now includes native support for ESM, which works more seamlessly with bundlers and minifiers. You might want to give it a try and see if it makes any difference.
I am also facing same issue not sure why we are getting this issue on live environment. In local it is working properly.
I am using azure-maps-control@3.0.3
@yulinscottkang
Hello, I'm using react-azure-maps@1.0.0
and azure-maps-control@3.0.3
and have this error:
Using the react-scripts command it works perfectly:
But once it's compiled and deployed in the server I get the previous errors and the map, appears but empty:
This is my code for the map:
@ashishkabuni, @Joxterian, can you let me know which minifier is being used and share the configurations for the minifier?
Seems the same issue as #185
To assist in identifying the problem, please provide a code snippet that can reproduce this issue. It would be helpful if you can also include the http status code and the response body of the failing APIs.