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
I want to use this widget to provide my users with a neat editor to use for their content. Unfortunately when I saw Prism being 133kb in size (prism-all.js), i gulped pretty hard. Because that is really big.
My environment uses WebPack, so I can utilize CommonJS and the like. What is the best way to only use selected languages?
The text was updated successfully, but these errors were encountered:
Hey, sorry for the slow reply here. I'm not really sure on the best way of using Prism with various bundlers etc. because it's not very well packaged for you to install just select components.
It is, however, completely modular and you can build your own subset on http://prismjs.com/download.html - just so long as you include the markup language, you should be able to pick and choose whatever other languages you like.
I want to use this widget to provide my users with a neat editor to use for their content. Unfortunately when I saw Prism being 133kb in size (prism-all.js), i gulped pretty hard. Because that is really big.
My environment uses WebPack, so I can utilize CommonJS and the like. What is the best way to only use selected languages?
The text was updated successfully, but these errors were encountered: