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

Specify langs in browser based example #477

Merged
merged 1 commit into from
May 25, 2023
Merged

Specify langs in browser based example #477

merged 1 commit into from
May 25, 2023

Conversation

wesbos
Copy link
Contributor

@wesbos wesbos commented May 25, 2023

The browser based example will download 162 JSON files if not specified, which leads to 10+ second loading times. I'm pretty sure I was also getting rate limited by unpkg as well because I was getting random broken loads.

Might be worth making the languages opt-in when working in the browser, but at least this PR will make the initial demo work smoothly.

re: #306

@netlify
Copy link

netlify bot commented May 25, 2023

Deploy Preview for shiki-matsu ready!

Name Link
🔨 Latest commit b219807
🔍 Latest deploy log https://app.netlify.com/sites/shiki-matsu/deploys/646f68a567bdcf0008b2e418
😎 Deploy Preview https://deploy-preview-477--shiki-matsu.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@orta
Copy link
Contributor

orta commented May 25, 2023

👍🏻

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

Successfully merging this pull request may close these issues.

2 participants