Skip to content

Specify langs in browser based example#477

Merged
orta merged 1 commit intoshikijs:mainfrom
wesbos:patch-1
May 25, 2023
Merged

Specify langs in browser based example#477
orta merged 1 commit intoshikijs:mainfrom
wesbos:patch-1

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