You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Meteor.js v2.5.8 web application using MapLibre 4.1.2 to show a simple map in a dashboard. Simple mongo links and show differents layers. In development mode all is ok.
But, When is production mode the app not run.
dist/maplibre-gl.js has this functions:
Promise is changed for arbitrary variable/string, in this case 'n'
maplibre-gl-js version: 4.1.2
browser: Chrome 123.0.6312.123
Steps to Trigger Behavior
Create a new package from Meteor.js adding maplibre-gl library
Set this package in packages folder.
Build in production mode
Map is visible but the communications are broken.
Consider using the non-minified version for this demo to create better error messages.
E.g. <script src='https://unpkg.com/maplibre-gl@1.15.2/dist/maplibre-gl-dev.js'></script><link href='https://unpkg.com/maplibre-gl@1.15.2/dist/maplibre-gl.css' rel='stylesheet' />
Yes, is a bad behaviour of a minifier of Meteor.js, I don't know why...
I write this issue because perhaps someone else has experienced the same thing.
Thanks.
A Meteor.js v2.5.8 web application using MapLibre 4.1.2 to show a simple map in a dashboard. Simple mongo links and show differents layers. In development mode all is ok.
But, When is production mode the app not run.
dist/maplibre-gl.js has this functions:
Promise is changed for arbitrary variable/string, in this case 'n'
maplibre-gl-js version: 4.1.2
browser: Chrome 123.0.6312.123
Steps to Trigger Behavior
Consider using the non-minified version for this demo to create better error messages.
E.g.
<script src='https://unpkg.com/maplibre-gl@1.15.2/dist/maplibre-gl-dev.js'></script><link href='https://unpkg.com/maplibre-gl@1.15.2/dist/maplibre-gl.css' rel='stylesheet' />
See https://stackoverflow.com/help/mcve for guidelines on creating an effective example.
-->
Expected Behavior
Actual Behavior
The text was updated successfully, but these errors were encountered: