Closed tgilino closed 3 years ago
Hi @tgilino unfortunately this appears to be an issue with Angular's build system. See https://github.com/angular/angular-cli/issues/20760. It seems to be triggered by inline data URIs which our CSS depends on and we can't change on our end. There does appear to be a workaround for Angular as well which hopefully will work, especially since GL JS's CSS file is fairly minimal. Sorry for the inconvenience but I don't think there's anything we can do on our end.
mapbox-gl-js version: 2.3.1
browser: Chrome
Steps to Trigger Behavior
Link to Demonstration
See above steps to reproduce. Note that this issue is only seen on "ng build" not on "ng serve". Other reports to the angular team have identified that there are usually issues in the external css being reference that cause this warning. See https://github.com/angular/angular-cli/issues/20804
https://jsbin.com/
Expected Behavior
No warning is shown
Actual Behavior
Warning is shown on ng build