We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b0c0a6 commit 4735c4aCopy full SHA for 4735c4a
composables/parser/javascript/oxc.ts
@@ -16,10 +16,8 @@ export const oxc: Parser<typeof Oxc, Partial<ParserOptions>> = {
16
},
17
editorLanguage: 'json',
18
19
- pkgName: 'oxc-parser',
20
- // getModuleUrl: (pkg) => getJsdelivrUrl(pkg, `/web/oxc_parser_wasm.js`),
21
- getModuleUrl: () =>
22
- `https://cdn.jsdelivr.net/gh/oxc-project/oxc@03-20-fix_napi_parser_make_wasi_browser_usable_on_cdn/napi/parser/browser-bundle.mjs`,
+ pkgName: '@oxc-parser/binding-wasm32-wasi',
+ getModuleUrl: (pkg) => getJsdelivrUrl(pkg, '/browser-bundle.mjs'),
23
init: (url) => importUrl(url),
24
parse(code, options) {
25
const { program, comments, errors } = this.parseSync(
0 commit comments