FIameCaster/prism-code-editor

import the following entry points when i need to access many languages

Closed this issue · 3 comments

You can import prism-code-editor/prism/languages/common for 42 common languages, or prism-code-editor/prism/languages for all languages like you've done.

I'm not sure what your issue is, could you specify?

I tried your advice,but seems not work.

import 'prism-code-editor/prism/languages/common';
or
import 'prism-code-editor/prism/languages';

the website client will be get error, please see the below.

chunk-4LSTX5LK.js?v=dbf9d462:209 Uncaught TypeError: Cannot read properties of undefined (reading 'markup-bracket')
at chunk-4LSTX5LK.js?v=dbf9d462:209:33