Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[js preset] Libraries linked in html don't load #935

Closed
arturhun opened this issue Apr 16, 2019 · 1 comment
Closed

[js preset] Libraries linked in html don't load #935

arturhun opened this issue Apr 16, 2019 · 1 comment

Comments

@arturhun
Copy link

I am having problems with a JS-preset blitz
https://stackblitz.com/edit/js-mapbox-center-edit?file=index.html

  1. The linked libraries load barely and randomly.
  • mapboxgl does load, but when you edit index.html or press the reload icon - it stops loading (mapboxgl not defined) - until you touch index.js again
  • mapbox circle - does not load at all.
  1. I also noticed that pressing the icon to clean up HTML inserts line breaks in the <script> tags, which breaks loading too.

I looked into the html fragment that is created, looks like you create multiple <head> elements. Not sure this is supposed to work.

image

@github-actions
Copy link

Apologies that we were unable to address this issue in a timely manner!

Given that we have millions of free users this has been a challenge, and we are working to improve over time. As part of an effort to focus on driving the most recent issues to resolution, this issue is being closed.

If this issue is still meaningful, please comment with an update and re-open the issue for troubleshooting! Thanks for your continued loyalty to the StackBlitz platform over the years!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants