Skip to content

Commit 4735c4a

Browse files
committed
chore: update url
1 parent 7b0c0a6 commit 4735c4a

File tree

1 file changed

+2
-4
lines changed
  • composables/parser/javascript

1 file changed

+2
-4
lines changed

composables/parser/javascript/oxc.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,8 @@ export const oxc: Parser<typeof Oxc, Partial<ParserOptions>> = {
1616
},
1717
editorLanguage: 'json',
1818
},
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`,
19+
pkgName: '@oxc-parser/binding-wasm32-wasi',
20+
getModuleUrl: (pkg) => getJsdelivrUrl(pkg, '/browser-bundle.mjs'),
2321
init: (url) => importUrl(url),
2422
parse(code, options) {
2523
const { program, comments, errors } = this.parseSync(

0 commit comments

Comments
 (0)