We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I've been using shiki in my chrome extension. but when i submitted to the chrome webstore i got a violation for obfuscated code.
on looking into it, i found its coming from shiki's inlined wasm. ( i'm using vite )
is there anyway to not include the wasm import in my bundle ? how can i handle this situation ?
import and use codeToHtml from the full bundle
import { codeToHtml } from "shiki/bundle/full"
The text was updated successfully, but these errors were encountered:
There is nothing we can do about it, maybe you can try using the JS engine: https://shiki.style/guide/regex-engines#javascript-regexp-engine-experimental be be aware of it's limitations and still experimental
Sorry, something went wrong.
No branches or pull requests
Validations
Describe the bug
I've been using shiki in my chrome extension. but when i submitted to the chrome webstore i got a violation for obfuscated code.
on looking into it, i found its coming from shiki's inlined wasm. ( i'm using vite )
is there anyway to not include the wasm import in my bundle ?
how can i handle this situation ?
Reproduction
import and use codeToHtml from the full bundle
Contributes
The text was updated successfully, but these errors were encountered: